Base URL

Groovy url = "http://localhost:8080" Note: WebTau treats groovy config file as codeAlternatively pass url as a command line argument --url=http://... Java url = http://localhost:8080 When you use JUnit like runners, e.g. getting-started/installation#junit5 JUnit5, WebTau expects file named webtau.properties to be present in test classpath, e.g. test resources:Alternatively pass url as a system property -Durl=http://... To set base url using environment variables use export WEBTAU_URL=http://another-server

Browser Only Base URL

When you use url parameter you set base url for both REST and UI testing.Use browserUrl to specify UI only base url. This can be handy when your backend and frontend live separately.

Browser Id

Use browserId via command line, system property, env variable or config file parameter to specify which browser to use. Groovy webtau --browserId=firefox export WEBTAU_BROWSER_ID=firefox Java ... -DbrowserId=firefox export WEBTAU_BROWSER_ID=firefox Note: Default browserId is chrome

Access To Base Url

To access base url or port use: browser.getBaseUrl() browser.getBaseUrlPort()