Testing Google Chrome or Mozilla Firefox on a Mac

To test Google Chrome or Mozilla Firefox on a remote macOS machine, the Silk Test information service needs to be installed on the remote machine. For additional information, see Installing the Silk Test Information Service on a Mac.
  1. On the local machine, from which you want to test Google Chrome or Mozilla Firefox, add the remote macOS machine as a remote location. For additional information, see Editing Remote Locations.
  2. You can now select Google Chrome or Mozilla Firefox on the remote macOS machine in the Select Application dialog box.
  3. To use the STW.EXE command line to execute a script on a remote browser on the macOS machine, use the following command:
    stw -d empty -browser <browsername> -connectionstring <connectionstring> -s <Scriptname>
    For example:
    stw -d empty -browser Firefox -connectionstring "host=try-imac" -s BrowserScript
    or
    stw -d empty -verbose -browser GoogleChrome -connectionstring "host=try-imac" -s BrowserScript
Note: Ensure that the Silk Test information service is running in a user session, and not in the services session. The Silk Test information service requires UI interaction to be enabled. The services session, which is session 0, does not enable UI interaction.

For information on the prerequisites and limitations when testing on Google Chrome, refer to the topics in the section Testing with Google Chrome. For information on the prerequisites and limitations when testing on Mozilla Firefox, refer to the topics in the section Testing with Mozilla Firefox.