System.InvalidOperationException: unknown error: unable to discover open pages
(Driver info: chromedriver=2.8.241075,platform=Windows NT 6.1 x86)
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Chrome.ChromeDriver..ctor(String chromeDriverDirectory, ChromeOptions options)
at OpenQA.Selenium.Chrome.ChromeDriver..ctor(String chromeDriverDirectory)
at Medsynaptic.WebLinker.WebLinkerForm.WebLinkerForm_Activated(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnActivated(EventArgs e)
at System.Windows.Forms.Form.set_Active(Boolean value)
at System.Windows.Forms.Form.WmActivate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
What steps will produce the problem?
1. create winform Application in .Net Framework 4.0
2. Transfering winform data to yahoo login page such as User Name and
Password
3. code:-driver = new ChromeDriver(Environment.CurrentDirectory);
LaunchChromeBrowser(driver);
What is the expected output? What do you see instead?
expected output:- Lunch Chrome Browser and Transfer data to the yahoo page
but instead of this it shows me "chrome automation extension has crashed"
Selenium version: dotnet-2.39.0
OS: Windows 7 32 Bit
Browser: Chrome
Browser version: 32.0.1700.76 m
Original issue reported on code.google.com by pritishd...@gmail.com on 20 Jan 2014 at 7:20
Original issue reported on code.google.com by
pritishd...@gmail.com
on 20 Jan 2014 at 7:20Attachments: