Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 Bug]: [Python 4.26.1] webdriver.safari TypeError: __init__() missing 1 required positional argument: 'remote_server_addr' #14698

Closed
VietND96 opened this issue Nov 1, 2024 · 1 comment · Fixed by #14699

Comments

@VietND96
Copy link
Member

VietND96 commented Nov 1, 2024

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

Copy link

github-actions bot commented Dec 1, 2024

This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant