In some cases you would want to run tests on your own private or internal servers, using a remote selenium grid server. either supplied by Testim or by an external provider such as Sauce Labs.


  1. Tunnel feature enabled (contact support for more information)
  2. Testim CLI

How to use it

  1. Run your application server
  2. Run Testim CLI with parameter (--tunnel - default application port 80)
  3. If you run your application under different port than port 80, add parameter (--tunnel-port <APP PORT e.g. 80>)

Note that Testim CLI will adjust your application base URL to point to the dedicated tunnel address.

Example using Testim CLI with a tunnel

testim --tunnel --tunnel-port <APP PORT default 80> --label "<YOUR LABEL>" --token "<YOUR ACCESS TOKEN>" --project "<YOUR PROJECT ID>" --host "<SELENIUM GRID HOST, e.g.>" --port <SELENIUM GRID PORT, e.g. 4444> --report-file test-results/testim-tests-report.xml

Note: You can not use tunnel for https addresses. 

Did this answer your question?