Hi Team,
I am getting the below error after edge browser & webdriver update. Any assistance regarding this could be of great help.
Error : System.MissingMethod Exception : Method not found : ‘Void OpenQA.Selenium.Edge.EdgeOptions.set_UseInPrivateBrowsing(Boolean)
Expected behavior: Expected behavior is, a new Edge browser to launch in "Private" mode.
NuGet Packages Version:
Selenium Webdriver - 3.141.0
Selenium.Support - 3.141.0
Selenium.Webdriver.MSEdgeDriver – 119.0.2151.42(Latest stable)
Edge browser & Webdriver.exe – 119.0.2151.44
Steps tried for resolution:
Added edgeoptions for inprivate browsing. Added additionalcapabilities option. Tried adding the missing method in Edgeoption class but it is read-only In Browseroptions.cs file, added options for Inprivate browsing in ‘ToEdge’ method Browser and Webdriver versions are compatible with each other