Page 1 of 1

Microsoft EDGE fails to load when starting it from command prompt

Posted: Wed Sep 11, 2019 3:10 pm
by jenserik
We have been using Siesta test script for a while now but have mainly been focused on testing our web application using Chrome and Firefox browsers - but we also want to execute them using Microsoft EDGE.
We have downloaded the latest Siesta version (5.2.3) and have executed all our scripts using the Siesta GUI (in EDGE) without any problems - but when trying to execute them using command prompt it fails with the following error:
[ERROR] Setup failed: Error: Can't create first page, runner: a Siesta.Launcher.Runner.WebDriverNodeJS, exception: InvalidArgumentError: The specified arguments passed to the command are invalid.

The command is: c:\user\siesta-5.2.3\bin\webdriver https://www.bryntum.com/examples/siesta/browser/ --browser=edge --rerun-failed --browser-arg disable-web-security (here replaced with your example url).
Using --browser=chrome or firefox works fine (using our own application url).

OS is Windows 10 Enterprise (build 18362.295), Microsoft Edge 44.18362.267.0 (EdgeHTML 18.18362) and EDGE webdriver (MicrosoftWebDriver.exe) is version 10.0.18362.1 and the web driver have been verified working using Python script making almost the same call as Siesta does - so maybe we should use Python in the future :-)

Hope you have a good solution to this problem ..
Tack så mycket - vänliga hälsningar
Jens-Erik

Re: Microsoft EDGE fails to load when starting it from command prompt

Posted: Wed Sep 11, 2019 3:16 pm
by nickolay
Thanks for the report, we'll investigate shortly.

Re: Microsoft EDGE fails to load when starting it from command prompt

Posted: Wed Sep 11, 2019 7:05 pm
by nickolay
Confirmed, investigating further.

Re: Microsoft EDGE fails to load when starting it from command prompt

Posted: Tue Sep 17, 2019 9:58 am
by nickolay
This issue is caused by fact, that latest edge driver requires the latest javascript selenium bindings. Merely updatding the `selenium-webdriver` package is not enough, as its a breaking major release (3.6 -> 4.0). I'm updating the codebase currently, to match the latest selenium API. Will post to this thread when it will be testable.

Re: Microsoft EDGE fails to load when starting it from command prompt

Posted: Wed Sep 18, 2019 10:48 am
by nickolay
Pushed to master, you can verify in the tomorrow nightly build. We'll be releasing Siesta 5.3.0 soon