Closed MeetMartin closed 7 years ago
Is there a different method in Webdriver.io that I should be using?
@MartinGentleman no. These are correct. However it seems that chromedriver can't set local storage for some reasons. I don't think this is a bug in WebdriverIO but more one in the Chromedriver project.
The problem
I am loading chrome extension modHeader successfully as base64 in node.js. I am not using wdio.
to setMod header I found online that you need to execute this:
but the extension does not seem to pick that up. No error is thrown.
I also tried using localStorage directly from Webdriver.io
Is there a different method in Webdriver.io that I should be using?