Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98369

WebStorage with RemoteWebDriver

$
0
0

I am trying to access WebStorage when running my tests, I am running tests locally using ChromeDriver and remotely in the pipeline using RemoteWebDriver.

I am unable to access WebStorage when using RemoteWebDriver

WebStorage webStorage = (RemoteWebStorage) new Augmenter().augment(driver);

I am getting:

org.openqa.selenium.remote.RemoteWebDriver cannot be cast to org.openqa.selenium.remote.html5.RemoteWebStorage

Any suggestions would be welcome, thank you.


Viewing all articles
Browse latest Browse all 98369

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>