Loading...
Connect On
Powered by Blogger.
Showing posts with label Script. Show all posts
Showing posts with label Script. Show all posts

Load unsafe script using Selenium Web driver in Chrome browser

ChromeOptions options = new ChromeOptions();
options.AddArguments("--allow-running-insecure-content");
IWebDriver driver = new ChromeDriver(options);

Other Arguments:-
http://peter.sh/experiments/chromium-command-line-switches/

I have tried this code in C# unit testing framework. It is working fine.