Home org.openqa.selenium.MutableCapabilities not available?
Reply: 1

org.openqa.selenium.MutableCapabilities not available?

Sulteric
1#
Sulteric Published in 2017-12-06 12:51:39Z

I don't seem to have org.openqa.selenium.MutableCapabilities available in my version of Selenium. I'm using version 2.53.0.

I'm trying to use Selenium standalone server in a Grails project and the application is crashing on this line:

 ChromeOptions options = new ChromeOptions()

I have a feeling this may be the cause. Any help greatly appreciated.

DebanjanB
2#
DebanjanB Reply to 2017-12-06 16:15:53Z

MutableCapabilities

MutableCapabilities was introduced for the first time with the availability of Selenium (Java Client) v3.6.0

Here is the snapshot from the Selenium (Java Client) v3.6.0 Release Notes:

All Option classes now extend MutableCapbilities new RemoteWebDriver(new ChromeOptions());


With the availability of Selenium (Java Client) v3.7.0 we migrated from using DesiredCapabilities to either MutableCapabilities or (preferably) ImmutableCapabilities.

Here is the snapshot from the Selenium (Java Client) v3.7.0 Release Notes:

Migrated from using DesiredCapabilities to either MutableCapabilities or (preferably) ImmutableCapabilities.


org.openqa.selenium.MutableCapabilities

Here is the JavaDoc link of org.openqa.selenium.MutableCapabilities

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.303007 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO