Skip to content

Commit

Permalink
Removed driver class from capabilities to support w3c
Browse files Browse the repository at this point in the history
  • Loading branch information
cjayswal committed Nov 21, 2024
1 parent 15493ed commit 2c4f053
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,9 +375,9 @@ private Capabilities getDesiredCapabilities() {
config = ConfigurationManager.getBundle().subset(driverCapKey);
capabilities.putAll(new ConfigurationMap(config));

Object driverclass = capabilities.get(ApplicationProperties.CAPABILITY_NAME_DRIVER_CLASS.key);
Object driverclass = capabilities.remove(ApplicationProperties.CAPABILITY_NAME_DRIVER_CLASS.key);
if (null == driverclass) {// backward compatibility only
driverclass = capabilities.get("driver.class");
driverclass = capabilities.remove("driver.class");
}
if (null != driverclass) {
try {
Expand Down

0 comments on commit 2c4f053

Please sign in to comment.