bugCracker
bugCracker

Reputation: 3796

Safari driver asking every time to enable "Allow Remote Automation" in selenium

Safari driver throwing error "Allow Remote Automation".

I have already enabled in main safari window but when executing the selenium test it throws the same exception again and again.

Thanks in advance.

Upvotes: 0

Views: 2716

Answers (1)

sagarwadhwa1
sagarwadhwa1

Reputation: 942

You can try by running this command in your terminal to allow subsequent Webdriver sessions without further authentication

sudo /usr/bin/safaridriver --enable

Please know you would need sudo access on the machine.

Upvotes: 0

Related Questions