45.5
WebDriver with Safari

To run tests with Safari, macOS 10.11 or newer and Safari 10 or newer are required. In addition, a setup has to be performed to oactivate the browser automation: Open the Safari Preferences and select "Show Develop menu in menu bar". In this menu, activate the "Allow Remote Automation" option. After that, open a Terminal window and execute once the command /usr/bin/safaridriver -p 0 to authorize the driver.

Note Due to special security restrictions imposed by the Apple SafariDriver, the interaction between QF-Test and Safari is limited in the following ways:

  • Tests can only be replayed but not recorded
  • No hard events are possible
  • Only one browser instance is allowed