question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WinAppDriver.exe is not opening after installing it

See original GitHub issue

Hey

I have an issue that when trying to open WinAppDriver.exe, a console appears to be opening then nothing is displayed.

When I try running the calculator test after running appium in command line, the following error is displayed:

C:/Ruby23/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.3.0/lib/selenium/webdriver/remote/http/common.rb:90:in `create_response’: unexpected response, code=404, content-type=“text/plain” (Selenium::WebDriver::Error::WebDriverError) The URL ‘/session’ did not map to a valid resource

My configurations are as follows:

def caps
    {
        platformName: "Windows", deviceName: "WindowsPC", app: "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"
    }
end

def setup
    $CalculatorSession = Selenium::WebDriver.for(:remote, :url => "http://127.0.0.1:4723/", :desired_capabilities => caps)
end

My PC is running on Windows 10 Enterprise and I enabled the Developer Mode.

Is there something I am missing here?!

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
yodurrcommented, Apr 27, 2017

I can’t think of why WinAppDriver would get closed because of how you opened it.
What if you right click the .exe and select Run As Administrator. Does that make a difference?

1reaction
khouzamcommented, Apr 10, 2017

@Aya-Akl

Can you open a command-prompt and run WinAppDriver manually, this will at least show what the error message is without having the window close on you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WinAppDriver.exe is not opening after installing it #179
Hey I have an issue that when trying to open WinAppDriver.exe, a console appears to be opening then nothing is displayed.
Read more >
Why does WinAppDriver.exe close immediately?
The answer in my case was to set "Developer Mode" in Windows 10. Just go to the Start menu and type "Use Developer...
Read more >
Install & Run WinAppDriver
Step 1: Go to this link , and look for the latest version ; Step 2: Click on Title of Latest version and...
Read more >
Let's resolve a pain point of WinAppDriver
5. Give this new variable a name as “WAD_PATH” & Click “Browse File” button and select the “winappdriver.exe” file from the folder where...
Read more >
Set up WinAppDriver in Katalon Studio
To run WinAppDriver, double-click the WinAppDriver.exe file from the installation directory. Set up WinAppDriver for the remote connection​. On the Windows 10 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found