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.
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.
Its works Fine
ReplyDelete