WebSettings¶
The WebSettings
configuration specifies standard browsers, preferences and timeouts. These may be used in UI Steps, Apptest or data test cases.
Syntax
1 2 3 4 5 6 7 8 9 10 | WebSettings { standardBrowser = <String> timeoutSeconds = <Number> screenshotTimeoutSeconds = <Number> preferences = { <property> = <Value> ... } } |
-
standardBrowser - The browser's name
-
timeoutSeconds - The number of seconds that Selenium waits for a response until it times out
-
screenshotTimeoutSeconds - The number of seconds that intaQt waits for a screenshot to be taken before timing out
- Default value set to
5
- Default value set to
-
propertyName - The name of the Selenium browser preference to configure and its value
- The value may be a string, integer or boolean
Example
1 2 3 4 5 6 | WebSettings { standardBrowser = "firefox" timeoutSeconds = 60 preferences = browser.display.background_color = "#FF3322" } } |