WinAppDriver.exe is not opening after installing it
See original GitHub issueHey
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:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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?
@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.