I can confirm (and reproduce this): for example, I definitely see (but can fix by updating) this on all platforms with python 3.8 with:
package |
broken |
working |
selenium |
3.141.0 |
4.9.1 |
robotframework-seleniumlibrary |
4.5.0 |
5.1.3 |
Here’s some debug output:
Traceback (most recent call last):
File "~/site-packages/SeleniumLibrary/__init__.py", line 471, in run_keyword
return DynamicCore.run_keyword(self, name, args, kwargs)
File "~/site-packages/robotlibcore.py", line 103, in run_keyword
return self.keywords[name](*args, **(kwargs or {}))
File "~/site-packages/SeleniumLibrary/keywords/browsermanagement.py", line 285, in open_browser
return self._make_new_browser(url, browser, alias, remote_url,
File "~/site-packages/SeleniumLibrary/keywords/browsermanagement.py", line 298, in _make_new_browser
driver = self._make_driver(browser, desired_capabilities,
File "~/site-packages/SeleniumLibrary/keywords/browsermanagement.py", line 669, in _make_driver
driver = self._webdriver_creator.create_driver(
File "~/site-packages/SeleniumLibrary/keywords/webdrivertools/webdrivertools.py", line 75, in create_driver
return creation_method(desired_capabilities, remote_url, profile_dir, options=options,
File "~/site-packages/SeleniumLibrary/keywords/webdrivertools/webdrivertools.py", line 190, in create_headless_firefox
return self.create_firefox(desired_capabilities, remote_url, ff_profile_dir, options, service_log_path,
File "~/site-packages/SeleniumLibrary/keywords/webdrivertools/webdrivertools.py", line 156, in create_firefox
return webdriver.Firefox(options=options, firefox_profile=profile,
File "~/site-packages/selenium/webdriver/firefox/webdriver.py", line 170, in __init__
RemoteWebDriver.__init__(
File "~/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "~/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "~/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute
response = self.command_executor.execute(driver_command, params)
File "~/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute
return self._request(command_info[0], url, body=data)
File "~/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request
resp = self._conn.request(method, url, body=body, headers=headers)
File "~/site-packages/urllib3/_request_methods.py", line 118, in request
return self.request_encode_body(
File "~/site-packages/urllib3/_request_methods.py", line 217, in request_encode_body
return self.urlopen(method, url, **extra_kw)
File "~/site-packages/urllib3/poolmanager.py", line 422, in urlopen
conn = self.connection_from_host(u.host, port=u.port, scheme=u.scheme)
File "~/site-packages/urllib3/poolmanager.py", line 303, in connection_from_host
return self.connection_from_context(request_context)
File "~/site-packages/urllib3/poolmanager.py", line 328, in connection_from_context
return self.connection_from_pool_key(pool_key, request_context=request_context)
File "~/site-packages/urllib3/poolmanager.py", line 351, in connection_from_pool_key
pool = self._new_pool(scheme, host, port, request_context=request_context)
File "~/site-packages/urllib3/poolmanager.py", line 265, in _new_pool
return pool_cls(host, port, **request_context)
File "~/site-packages/urllib3/connectionpool.py", line 196, in __init__
timeout = Timeout.from_float(timeout)
File "~/site-packages/urllib3/util/timeout.py", line 190, in from_float
return Timeout(read=timeout, connect=timeout)
File "~/site-packages/urllib3/util/timeout.py", line 119, in __init__
self._connect = self._validate_timeout(connect, "connect")
File "~/site-packages/urllib3/util/timeout.py", line 156, in _validate_timeout
raise ValueError(
ValueError: Timeout value connect was <object object at 0x7fea6b73f230>, but it must be an int, float or None.