GET “sessions” for Webdriver, return “Unknown error”

Site Outreach Issue #7112432

Details

Created
Apr 5, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I started Microsoft WebDriver Server for Microsoft Edge.
After I sent command GET “/sessions” (More detail at https://github.com/seleniumhq/selenium/wiki/jsonwireprotocol#GET_/sessions.md )
I received JSON: { "sessionId": null, "status": 13, "value": { "message": “Unknown error” } }
Expected: received list is empty instead of error.

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Christian F.”

    Changed Assigned To from “Christian F.” to “Ibrahim O.”

    Changed Assigned To to “Ibrahim O.”

  • Thank you for your feedback. We are having difficulties reproducing this issue. Could you please let us know which version of WebDriver you are using (WebDriver for Windows Insider or public version) ? if you are using the public version could you please verify the issue is also repro in the following insider build. https://www.microsoft.com/en-us/download/details.aspx?id=48740 

    It would also help us investigate the issue if could provide us your sample code or sample project that can demonstrate this issue. Please keep us posted about your progress resolving this issue, we will be happy to assist you.

    All the best,
    The MS Edge Team

  • Hi Ibrahim O,

    With Insider Build 14295 and Microsoft WebDriver latest version Insider which you recommend, i receive exception “No such Driver” instead of "Unknown error".
    I attached source code and video to reproduce this issue. If you cannot reproduce, please to contact me.
    Expected: received list is empty instead of exception.

    Thanks,
    Xuan Hieu

  • Microsoft Edge Team

    Changed Assigned To to “Christian F.”

    Changed Assigned To to “Mara P.”

    Changed Status to “Not reproducible”

  • This appears to be an issue with the language binding. Testing the below worked fine:

    [20160505T18:45:53.11] Request GET /sessions
    [20160505T18:45:53.12] Response (15ms) 200 OK
    {
      "status": 0,
      "value": [
        {
          "id": "68ADDFD8-6B89-4435-9920-2996D271F4A8",
          "capabilities": {
            "browserName": "MicrosoftEdge",
            "browserVersion": "38.14339.1000.0",
            "platformName": "windows",
            "platformVersion": "10",
            "takesElementScreenshot": true,
            "takesScreenshot": true,
            "acceptSslCerts": true,
            "applicationCacheEnabled": true,
            "locationContextEnabled": true,
            "webStorageEnabled": true,
            "pageLoadStrategy": “normal”
          }
        }
      ]
    }

    You can verify if you start the driver server with the flag --verbose. This will have the server list out every RESTful request it receives and the responses it returns.

  • Microsoft Edge Team

    Changed Status from “Not reproducible” to “Site Outreach”

  • Hi Clay M.,

    This issue only happens in case: no session is created.
    In your case, one session is created.
    Please to view video (attached) to reproduce.

    Thanks,
    Xuan Hieu

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

Sign in