[Fixed] Python Selenium Error ‘WebDriver’ object has no attribute ‘manage’

Issue

You have mistakenly used java binding of Selenium with Python. “driver.manage” is not a valid python usage

Solution

You can search for valid python methods and use. If you are trying to add timeout to selenium page load, you can use below code

driver.set_page_load_timeout(30)

Replace 30 with timeout seconds

Leave a Reply

(*) Required, Your email will not be published