🚧

TDK Feature

This is not supported in Testim's visual editor.

1028

Running TDK code on Safari

Running testim code on Safari is easy. Assuming you are running on a grid simply add the --browser safari option. So for example if you were running Testim with:

# grid name - preferred and more maintainable
$ testim -f ./tests/*.js --grid testim-grid
# grid host and port - also supported
$ testim -f ./tests/*.js --host http://example.com/grid --port 4444 
# local grid assuming webdriver-manager is running
$ testim -f ./tests/*.js --host 127.0.0.1 --port 4444 

These examples would look like this:

# grid name - preferred and more maintainable
$ testim -f ./tests/*.js --grid testim-grid --browser safari
# grid host and port - also supported
$ testim -f ./tests/*.js --host http://example.com/grid --port 4444 --browser safari
# local grid assuming webdriver-manager is running
$ testim -f ./tests/*.js --host 127.0.0.1 --port 4444 --browser safari

Testim is commited to an open internet where multiple browsers co-exist.