Page tree
Skip to end of metadata
Go to start of metadata

Use alternate configuration file for Python remote connection to overcome RemoteWebDriver error


Problem:

 RemoteWebDriver generates  ssl.Certificate error. Selenium has documented this as a known issue for the Python binding that is a result of RWD converting the hostname to an IP address.

 

Solution:

Go to the folder <PYTHON_HOME>\Lib\site-packages\selenium\webdriver\remote and replace the file remote_connection.py with the following file:

remote_connection(1).py