Importance of desired capabilities in selenium webdriver
Answers
Answered by
5
The setCapability method of theDesiredCapabilities Class, which is explained in the later part of the tutorial, can be used in Selenium Grid. It is used to perform a parallel execution on different machine configurations. It is used to set the browser properties (Ex. Chrome, IE), Platform Name
Answered by
4
Answer:
The desired capability is a series of key/value pairs that stores the browser properties like browsername, browser version, the path of the browser driver in the system, etc. to determine the behaviour of the browser at run time.
Desired capability can also be used to configure the driver instance of Selenium WebDriver.
We can configure driver instance like FirefoxDriver, ChromeDriver, InternetExplorerDriver by using desired capabilities.
Similar questions
Social Sciences,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Business Studies,
1 year ago
Math,
1 year ago