WebDriverException - Unexcepted error. Unknown error. When running test with Selenium

Not reproducible Issue #9613662

Details

Author
Richard D.
Created
Nov 1, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.14955
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

Download Insider webdriver from https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

In Visual Studio:

IWebDriver edgeDriver = new EdgeDriver();

Run tests

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Ibrahim O.”

  • Hi I am getting the same issue as well using the latest stable webdriver. I tried the insiders build but still no resolve.

    DesiredCapabilities capabilities = DesiredCapabilities.edge();
    EdgeDriverService service = new EdgeDriverService.Builder().usingDriverExecutable(edgeDriverPath)
                    .usingAnyFreePort().build();
    WebDriver result = new EdgeDriver(service, capabilities);
    result.navigate().refresh;
    

    ,

    Unknown error (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 16 milliseconds Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40' System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0' Driver info: org.openqa.selenium.edge.EdgeDriver Capabilities [{applicationCacheEnabled=true, acceptSslCerts=true, browserVersion=38.14393.0.0, platformVersion=10, locationContextEnabled=true, webStorageEnabled=true, browserName=MicrosoftEdge, takesScreenshot=true, pageLoadStrategy=normal, takesElementScreenshot=true, platformName=windows, platform=ANY}] Session ID: 5491A1B1-36EC-4BDB-919F-60EE580D127C
    
    org.openqa.selenium.WebDriverException: Unknown error (WARNING: The server did not provide any stacktrace information)
    Command duration or timeout: 16 milliseconds
    Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40'
    System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0'
    Driver info: org.openqa.selenium.edge.EdgeDriver
    Capabilities [{applicationCacheEnabled=true, acceptSslCerts=true, browserVersion=38.14393.0.0, platformVersion=10, locationContextEnabled=true, webStorageEnabled=true, browserName=MicrosoftEdge, takesScreenshot=true, pageLoadStrategy=normal, takesElementScreenshot=true, platformName=windows, platform=ANY}]
    Session ID: 5491A1B1-36EC-4BDB-919F-60EE580D127C
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:88)
        at .(Unknown Source)
        at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
        at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:701)
        at org.openqa.selenium.remote.RemoteWebDriver$RemoteNavigation.refresh(RemoteWebDriver.java:977)
  • Thank you for your feedback. I am having difficulties reproducing this issue on Windows Insider 14959 with Webdriver 10.0.14959.1000 (You can check this by right clicking your webdriver executable then select properties and details)

    Here is the C# binding that successfully run :

    string serverPath = "Microsoft Web Driver";
                 
                try
                {
                    if (System.Environment.Is64BitOperatingSystem)
                    {
                        serverPath = Path.Combine(System.Environment.ExpandEnvironmentVariables(“%ProgramFiles(x86)%”), serverPath);
                    }
                    else
                    {
                        serverPath = Path.Combine(System.Environment.ExpandEnvironmentVariables(“%ProgramFiles%”), serverPath);
                    }
                    EdgeOptions options = new EdgeOptions();
                    options.PageLoadStrategy = EdgePageLoadStrategy.Eager;
                    IWebDriver driver = new EdgeDriver(serverPath, options);              
                    driver.Url = "www.bing.com";
                    driver.Manage().Timeouts().SetPageLoadTimeout(TimeSpan.FromSeconds(5));
                    driver.Navigate();

                }

                catch (Exception e)
                {

                    Console.WriteLine(“Exception” + e.ToString());

                }

    Could you please verify that you are running matched OS and Webdriver builds during your tests? If yes could you also please provide us your reduced repro code or sample. That will help us investigate the issue.

    All the best,
    The MS Edge Team

  • Microsoft Edge Team

    Changed Assigned To from “Ibrahim O.” to “James M.”

    Changed Status to “Not reproducible”

  • Hello,

    Thank you for providing this information about the issue. After thorough testing, we are unable to reproduce this problem in Edge with the information at hand. Please update this case when you can provide more details, such as your WebDriver version and also a sample script for our investigation.

    Best Wishes,
    The MS Edge Team
     

You need to sign in to your Microsoft account to add a comment.

Sign in