Runs
Configure Safari for Test Automation in Testsigma
Configuring Safari 10.1+ to allow automation
Section titled “Configuring Safari 10.1+ to allow automation”Safari’s Automation support is turned off by default. To turn on Automation support, follow the steps below:
-
Ensure that the ‘Develop‘ menu is available. It can be turned on by opening Safari preferences (‘Safari > Preferences’ in the menu bar), going to the ‘Advanced’ tab, and ensuring that the ‘Show Develop menu’ in the menu bar checkbox is checked.
-
Enable ‘Remote Automation’ in the Develop menu. This is toggled via ‘Develop > Allow Remote Automation’ in the menu bar.
As specified earlier, you do not need to download anything extra since everything required is pre-installed for Safari versions greater than 10.1.
Safari versions lower than 10.1
Section titled “Safari versions lower than 10.1”-
Go to ‘Preferences’ and switch to the ‘Extensions’ tab to check if Selenium Driver is installed. If not installed, go to the SeleniumHQ Downloads page and download the latest release under the SafariDriver section.
-
Double-click to install the “SafariDriver.safariextz” safari extension file and enable it in the Extensions menu in Safari.
-
Additionally, authorize safaridriver to launch the webdriverd service which hosts the local web server. To permit this, run the below command once manually from the terminal and complete the authentication prompt. /usr/bin/safaridriver