Edge browser in VirtualBox VM with selenium grid sometimes loads page indefinitely

Issue #10832732 • Assigned to Steven K.

Details

Author
George V.
Created
Feb 7, 2017
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 am trying to run python selenium tests in a selenium grid, hub in linux and node with an Edge browser in a VirtualBox VM of Win_10 with MicrosoftWebDriver.

VM and MicrosoftWebDriver are the latest downloaded from Microsoft and versions match, both are for build 14393.

I am using selenium-server-standalone-3.0.1.jar

The trouble I am having in the Edge browser is that occasionally, during a selenium get(url) or when a form submit button in the browser is clicked, the browser will keep showing the loading indicator until it times-out and the test fails.

In linux I start the hub with:

java -jar selenium-server-standalone-3.0.1.jar -role hub -port 4444 -log selenium_grid_hub.log -timeout 100 -browserTimeout 100

and the node with:

java -Dwebdriver.edge.driver=MicrosoftWebDriver.exe -jar selenium-server-standalone-3.0.1.jar -role node -nodeConfig nodeconfig.json -hub http://192.168.1.69:4444/grid/register -timeout 100 -browserTimeout 100

in the above node and hub commands I added the timeouts since otherwise the Edge browser would load for ever, now it will fail the test after the timeout

inside the test I set the webdriver as (python):

desired_capabilities = DesiredCapabilities.EDGE.copy()
desired_capabilities[‘ignoreProtectedModeSettings’] = True

command = ‘http://’ + options.get(‘hub_ip’) + ‘:’ + options.get(‘hub_port’) + “/wd/hub”

selenium = webdriver.Remote(
command_executor=command,
desired_capabilities=desired_capabilities)

the nodeconfig.json file is set to:

{
"capabilities":
[
{
"browserName":"MicrosoftEdge",
"maxInstances":1,
“seleniumProtocol":"WebDriver”
}
],
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"register": true,
"registerCycle": 5000,
"maxSession":6,
"port":7777
}

I appreciate very much any info you can give me on how to track/solve this.


George

Attachments

0 attachments

    Comments and activity

    • the full build number of the VM is 14393.rs1_release.161220-17447

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To from “Brad E.” to “Steven K.”

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

    Sign in