Skip to content

[πŸ› Bug]: safaridriver fails to launch due to authentication/configuration issueΒ #14850

@manasvini2508

Description

@manasvini2508

What happened?

We are unable to run tests in Safari due to issues with safaridriver. The problem also appears when attempting to launch safaridriver directly from the terminal.

How can we reproduce the issue?

Open the terminal.

Run the following command:
safaridriver -p 8888
Observe the error message:
ERROR: safaridriver could not launch because it is not configured correctly or you need to authenticate.
Re-run safaridriver(1) and pass the '--enable' flag to configure and/or authenticate.
Attempt to resolve the issue using the suggested command:

sudo safaridriver --enable
This does not resolve the issue, even when executed from a root admin account.

Relevant log output

Last login: Wed Dec  4 15:12:35 on ttys002
 ~ % safaridriver -p 8888      

ERROR: safaridriver could not launch because it is not configured
correctly or you need to authenticate. Re-run safaridriver(1) and
pass the '--enable' flag to configure and/or authenticate.
For more information, consult the safaridriver(1) man page.

 ~ % sudo safaridriver --enable

 ~ % safaridriver -p 8888      

ERROR: safaridriver could not launch because it is not configured
correctly or you need to authenticate. Re-run safaridriver(1) and
pass the '--enable' flag to configure and/or authenticate.
For more information, consult the safaridriver(1) man page.
manasvini.gopi@AMAC9RHG7GFNK ~ %

Operating System

macOS Sonoma 14.7.1

Selenium version

Selenium 3.141.59

What are the browser(s) and version(s) where you see this issue?

Safari 18.1 (19619.2.8.111.5)

What are the browser driver(s) and version(s) where you see this issue?

Safari 18.1 (19619.2.8.111.5)

Are you using Selenium Grid?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    G-safaridriverRequires fixes in SafariDriver

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions