What happened?
Unfortunately, while patching 4.26.1, an unexpected error (missing in CI tests) caused a basic test below is fail to initialize the driver instance for Safari
How can we reproduce the issue?
@pytest.mark.skipif(sys.platform != "darwin", reason="requires Mac")
def test_basic_options():
options = webdriver.SafariOptions()
driver = webdriver.Safari(options=options)
driver.quit()
Relevant log output
client_config = ClientConfig(remote_server_addr=self.service.service_url, keep_alive=keep_alive, timeout=120)
> executor = SafariRemoteConnection(
ignore_proxy=options._ignore_local_proxy,
client_config=client_config,
)
E TypeError: __init__() missing 1 required positional argument: 'remote_server_addr'
Operating System
MacOS
Selenium version
Python 4.26.1
What are the browser(s) and version(s) where you see this issue?
Safari (any version)
What are the browser driver(s) and version(s) where you see this issue?
Safari driver (any version)
Are you using Selenium Grid?
No