/
Add capabilities to Selenium Open Browser

Add capabilities to Selenium Open Browser

 

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.

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

This way is not supported by GoTest.

Example

 

Related content

Ajout de capabilities à Selenium Open Browser
Ajout de capabilities à Selenium Open Browser
More like this
Démarrage rapide : Votre premier test web en 5 minutes
Démarrage rapide : Votre premier test web en 5 minutes
More like this
Mots clés désuets
Mots clés désuets
More like this
Deprecated Keywords
Deprecated Keywords
More like this

©️2023 Alithya GoTest - All Rights Reserved
Need Help? You have a suggestion?