You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] <Getting webdriver exception "unknown error: unable to discover open pages" when running the test on server through ADO test plan. Code works locally>
#1411
Please help! This is happening for any test we're running through ADO test plan. We get Webdriver exception below when running on a Server VM using Edge Driver. The script works fine when running locally but fails repeatedly on server.
Error message:
OpenQA.Selenium.WebDriverException: unknown error: unable to discover open pages
Stack trace:
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters) at OpenQA.Selenium.WebDriver.StartSession(ICapabilities desiredCapabilities) at OpenQA.Selenium.WebDriver..ctor(ICommandExecutor executor, ICapabilities capabilities) at OpenQA.Selenium.Chromium.ChromiumDriver..ctor(ChromiumDriverService service, ChromiumOptions options, TimeSpan commandTimeout) at OpenQA.Selenium.Edge.EdgeDriver..ctor(EdgeDriverService service, EdgeOptions options, TimeSpan commandTimeout) at Microsoft.Dynamics365.UIAutomation.Browser.BrowserDriverFactory.CreateWebDriver(BrowserOptions options) in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Browser\BrowserDriverFactory.cs:line 42 at Microsoft.Dynamics365.UIAutomation.Browser.InteractiveBrowser.get_Driver() in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Browser\InteractiveBrowser.cs:line 85 at Microsoft.Dynamics365.UIAutomation.Browser.BrowserPage.Execute[TResult,T1,T2,T3,T4,T5](BrowserCommandOptions options, Func7 delegate, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Browser\BrowserPage.cs:line 242
at Microsoft.Dynamics365.UIAutomation.Api.UCI.WebClient.Login(Uri orgUri, SecureString username, SecureString password, SecureString mfaSecretKey, Action`1 redirectAction) in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Api.UCI\WebClient.cs:line 142
at Microsoft.Dynamics365.UIAutomation.Api.UCI.OnlineLogin.Login(Uri orgUrl, SecureString username, SecureString password, SecureString mfaSecretKey) in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Api.UCI\Elements\OnlineLogin.cs:line 40
at Microsoft.Dynamics365.UIAutomation.Sample.UCI.CreateContactUCI.UCITestCreateContact() in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Sample\UCI\Create\CreateContact.cs:line 27
Attachments ()
EasyRepro Version
latest
UCI or Classic Web
UCI (XrmApp)
Online or On Premise
Online
Browser
Edge
Describe the bug
Special formatting / display
Code to reproduce
Expected behavior
Screenshots
Additional context
The text was updated successfully, but these errors were encountered:
Bug Report
Please help! This is happening for any test we're running through ADO test plan. We get Webdriver exception below when running on a Server VM using Edge Driver. The script works fine when running locally but fails repeatedly on server.
Error message:
OpenQA.Selenium.WebDriverException: unknown error: unable to discover open pages
Stack trace:
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary
2 parameters) at OpenQA.Selenium.WebDriver.StartSession(ICapabilities desiredCapabilities) at OpenQA.Selenium.WebDriver..ctor(ICommandExecutor executor, ICapabilities capabilities) at OpenQA.Selenium.Chromium.ChromiumDriver..ctor(ChromiumDriverService service, ChromiumOptions options, TimeSpan commandTimeout) at OpenQA.Selenium.Edge.EdgeDriver..ctor(EdgeDriverService service, EdgeOptions options, TimeSpan commandTimeout) at Microsoft.Dynamics365.UIAutomation.Browser.BrowserDriverFactory.CreateWebDriver(BrowserOptions options) in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Browser\BrowserDriverFactory.cs:line 42 at Microsoft.Dynamics365.UIAutomation.Browser.InteractiveBrowser.get_Driver() in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Browser\InteractiveBrowser.cs:line 85 at Microsoft.Dynamics365.UIAutomation.Browser.BrowserPage.Execute[TResult,T1,T2,T3,T4,T5](BrowserCommandOptions options, Func
7 delegate, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Browser\BrowserPage.cs:line 242at Microsoft.Dynamics365.UIAutomation.Api.UCI.WebClient.Login(Uri orgUri, SecureString username, SecureString password, SecureString mfaSecretKey, Action`1 redirectAction) in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Api.UCI\WebClient.cs:line 142
at Microsoft.Dynamics365.UIAutomation.Api.UCI.OnlineLogin.Login(Uri orgUrl, SecureString username, SecureString password, SecureString mfaSecretKey) in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Api.UCI\Elements\OnlineLogin.cs:line 40
at Microsoft.Dynamics365.UIAutomation.Sample.UCI.CreateContactUCI.UCITestCreateContact() in D:\a\1\s\Pipeline\EasyRepro_NEW\Microsoft.Dynamics365.UIAutomation.Sample\UCI\Create\CreateContact.cs:line 27
Attachments ()
EasyRepro Version
latest
UCI or Classic Web
Online or On Premise
Browser
Describe the bug
Special formatting / display
Code to reproduce
Expected behavior
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: