I am trying to run the automation scripts using edge browser in private window but it always running in normal mode. I have set the below in my app.config file,
Machine: Windows 10 Enterprise, 64 bit
Edge driver version: 110.0.1587.50
I am struggling in this as logged in credentails taken by default instead of the defined credentials when i run the scripts in normal mode. It would be great if someone suggest how to run the edge browser in private mode?
I am trying to run the automation scripts using edge browser in private window but it always running in normal mode. I have set the below in my app.config file,
My BrowserOption.cs contains the below,
public virtual EdgeOptions ToEdge() { var options = new EdgeOptions() { PageLoadStrategy = PageLoadStrategy.Normal, UseInPrivateBrowsing = PrivateMode };
My Test settings file contains as below,
Machine: Windows 10 Enterprise, 64 bit Edge driver version: 110.0.1587.50
I am struggling in this as logged in credentails taken by default instead of the defined credentials when i run the scripts in normal mode. It would be great if someone suggest how to run the edge browser in private mode?