Argument deprecated
Starting from GoTest version 3.4.3, the desired_capabilities
argument in the Open Browser
keyword is deprecated, and it will be removed in an upcoming release.
Note |
---|
Currently, tests using this argument still work, but a warning message is displayed in the logs. See the image below for reference. |
However, it is essential to modify these tests before the argument is removed. To achieve this, you should now use the options
argument.
New Implementation
The following subsections outline various ways of using the options
argument.
Direct declaration
Example 1
Example 2
Using Variable
Example
Using WebDriver Options
Note |
---|
This way is not supported by GoTest. |