Reputation: 1
In the setup method of our testrun we try to connect to our selenium grid. By default the connection setup is configured with 3 connection retries. I would like to change the connection retry with an option but didn't found anything in the documentation.
The following code snipped shows the connection call to the remote server:
self.driver = webdriver.Remote(command_executor=grid_url, desired_capabilities=d, browser_profile=None, proxy=None, keep_alive=False, file_detector=None, options=None)
Actually I tried to find some options in desired_capabilities but didn't found anything to configure the max retries.
How can I set the max retries?
Upvotes: 0
Views: 438
Reputation: 571
try using timeout like this
https://www.selenium.dev/documentation/webdriver/drivers/options/#timeouts
edge_options.timeouts()
Upvotes: 0