Enabling Apple Safari for Web UI playing back on a Macintosh computer

To play back tests with Apple Safari, you must enable the Safari browser for Web UI.

About this task

Before playing back Web UI tests in Safari, make sure you enable Remote Automation in the Safari browser.
To allow remote automation in Safari, you must turn on WebDriver support:
  1. To enable the Develop menu in the Safari browser, click Safari > Preferences > Advanced tab. Select the Show Develop Menu check box. The Develop menu appears in the menu bar.
  2. To enable Remote Automation click Develop > Allow Remote Automation in the menu bar.
  3. Authorize safaridriver to launch the webdriverd service that hosts the local web server. To permit this, run /usr/bin/safaridriver once manually and complete the authentication prompt.
  • You must install HOT Perf Agent on Mac OS to use this feature for executing the WebUI tests.

What to do next

You can now run a Web UI test. See Running a Web UI test.