question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to disable "This Safari window is remotely controlled by an automated test"

See original GitHub issue

MacOS: 11.5.2 Selenium: 3.14.xx SikuliX1: 2.0.5 Java: 11 Safari: 14.1.2

When using selenium to open a website on SAFARI, then I call the SikuliX script to click an element by Image. But Safari always shows a popup: This Safari window is remotely controlled by an automated test

So, please show me how to solve this issue?

Note that: I turned-on “Allow Remote Automation” on Develop tab in Safari

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
RaiMancommented, Nov 24, 2021

I guess you have to ask Apple 😉

0reactions
anhphan-cwvncommented, Nov 25, 2021

@RaiMan

Ok, but your second last reply did not really say, that you have also tried the sudo /usr/bin/safaridriver --enable.

I tried that solution before logging this ticket.

Anyway, thanks for your supporting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable automation warning in Safari when using selenium
Choose Safari > Preferences and on the Advanced tab, select Show Develop menu in menu bar. Choose Develop > Allow Remote Automation ....
Read more >
Configure Safari browser to run selenium tests - qavalidation
To run tests in Safari browser, we will use selenium's SafariDriver ... as “This Safari window is remotely controlled by an automated test....
Read more >
Testing with WebDriver in Safari - Apple Developer
Enable WebDriver and run a test. ... When a test calls a command, the command is executed in the following ... Choose Develop...
Read more >
Enabling Remote Automation in Safari 14+ via the Command ...
Safari AllowRemoteAutomation 1 - run: sudo safaridriver --enable ... click button 1 of window 1 click menu item "Allow Remote Automation" of ...
Read more >
Pop-Up Message Appears When Using Safari 11 and 12 in a ...
When using Safari 11 or 12 for a manual testing and you click on an element, you might encounter a pop-up that reads...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found