I Dont why but the chrome driver dosent open, it give me error :ValueError: Timeout value connect was <object object at 0x0000011B792D8660>, but it must be an int, float or None.
this is the Code :
# Path to the Chrome WebDriver path = #path# Create a Chrome WebDriver servicechrome_service = Service(path)# Create a Chrome WebDriver instance with the desired capabilitiesdriver = webdriver.Chrome(service=chrome_service)# Navigate to a webpagedriver.get("https://linkedin.com/uas/login")# waiting for the page to loadtime.sleep(2)# entering usernameusername = driver.find_element(By.ID, "username")# Enter Email username.send_keys(#email)# entering passwordpword = driver.find_element(By.ID, "password")# Enter Passwordpword.send_keys(#password)# Clicking on the log in buttondriver.find_element(By.XPATH, "//button[@type='submit']").click()
i did try pip install selenium==4.9.0