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

System.InvalidOperationException : unknown error: Runtime.evaluate threw exception: DOMException error using Azure and Selenium through C#

$
0
0

I'm running tests on a Remote Machine through Azure daily scheduled run. Some of the tests are failing with below error log. How can I fix this ?

Note : I do not have method implementation of launching chrome driver as I am referencing dll of other solution which has abstract methods.

Stack : NUnit, C#, Selenium, Visual Studio, Azure, log4Net

OneTimeSetUp: Automation.Test.Framework.Models.Exceptions.AtGenericException : Error initializing WebDriver Chrome ----> System.InvalidOperationException : unknown error: Runtime.evaluate threw exception: DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document. at :1:1 (Session info: chrome=77.0.3865.90) (Driver info: chromedriver=2.36.540470 (e522d04694c7ebea4ba8821272dbef4f9b818c91),platform=Windows NT 6.3.9600 x86_64)


Viewing all articles
Browse latest Browse all 99400

Trending Articles



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