Before you can test with
Apple Safari on a Mac, ensure that the following prerequisites are met:
- The Mac is connected as a remote location to a Windows machine, on which
Silk4NET is installed. For additional information, see
Editing Remote Locations.
- If you are testing with
Apple Safari 9, the SafariDriver, which is the WebDriver extension for
Apple Safari that inverts the traditional client/server relationship and communicates with the WebDriver client using WebSockets, needs
to be installed on the Mac. With
Apple Safari 10.1, Safari features a built-in driver implementation.
- Java JDK is installed on the Mac.
- The information service is installed on the Mac. To get the files that are required for the information service, use the
Silk Test installer. For additional information, see
Installing the
Silk Test Information Service on a Mac.
- To run tests on
Apple Safari, the user that has installed the information service needs to be logged in on the Mac.
- To run unattended tests against
Apple Safari on a Mac, adjust the following energy-related settings in the
Energy Saver pane of the
System Preferences:
- Set
Turn display off after to
Never.
- Check the
Prevent computer from sleeping automatically when the display is off check box.
Note: You can use the
Silk Test Configuration Assistant to easily configure such settings. To open the
Configuration Assistant on a Mac, click on the
Silk Test icon in the status menus and select
Configuration Assistant.
- To run unattended tests against
Apple Safari on a Mac, disable the screen saver.
- Navigate to
.
- Click the
Screen Saver tab.
- Set
Start screen saver to
Never.
Note: You can use the
Silk Test Configuration Assistant to easily configure such settings. To open the
Configuration Assistant on a Mac, click on the
Silk Test icon in the status menus and select
Configuration Assistant.
- If you are testing with
Apple Safari 10.1, enable the Safari developer menu. Choose
, click
Advanced, and check
Show develop menu in menu bar.
- If you are testing with
Apple Safari 10.1, enable remote automation. In the Safari developer menu, check
Allow Remote Automation.
- When executing a test for the first time against
Apple Safari 10.1, you need to provide a password.