Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a driver for automationName ‘Windows’` #1355

Closed
2 tasks done
wmortume opened this issue Feb 17, 2024 · 10 comments
Closed
2 tasks done

Could not find a driver for automationName ‘Windows’` #1355

wmortume opened this issue Feb 17, 2024 · 10 comments
Labels
need info More information is needed from issue creator

Comments

@wmortume
Copy link

Is this an issue specifically with Appium Inspector?

  • I have verified that my issue does not occur with Appium, and should be investigated as an Appium Inspector issue

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I have the latest appium-windows-driver and WinAppDriver drivers installed but when I try to use the inspector it’s complaining that it can’t find appium-windows-driver which is located in the ../.appium/.. directory.
image

Expected Behavior

I expect the inspector to detect the driver and start a session so I can inspect windows elements.

Operating System

Windows

Appium Inspector Version

2024.2.2

Appium Version

2.5.1

Further Information

No response

@wmortume wmortume added the bug Something isn't working label Feb 17, 2024
@KazuCocoa
Copy link
Member

Could you include the beginning of the appium server log as well?

e.g. from "Welcome to...."

[Appium] Welcome to Appium v2.0.0 (REV 552db40622bb7a82d9c6d67d2d6bcf3694b47e30)
[Appium] Attempting to load driver fake...
[debug] [Appium] Requiring driver at /Users/kazu/GitHub/appium/packages/fake-driver
[Appium] Attempting to load driver windows...

@KazuCocoa KazuCocoa added need info More information is needed from issue creator and removed bug Something isn't working labels Feb 17, 2024
@wmortume
Copy link
Author

wmortume commented Feb 17, 2024

Could you include the beginning of the appium server log as well?

e.g. from "Welcome to...."

[Appium] Welcome to Appium v2.0.0 (REV 552db40622bb7a82d9c6d67d2d6bcf3694b47e30)
[Appium] Attempting to load driver fake...
[debug] [Appium] Requiring driver at /Users/kazu/GitHub/appium/packages/fake-driver
[Appium] Attempting to load driver windows...

@KazuCocoa Here's the whole log.
image

@KazuCocoa
Copy link
Member

it looks like the appium windows driver installation failed. Maybe node build was wrong.
What version of node/npm does the env have?
If not, nodejs v20, 18, 16 (LTS), could you try them out?

@wmortume
Copy link
Author

@KazuCocoa After downgrading from v21.6.2 to v20.11.1 I get a different error telling me winappdriver server is not listening within timeout.
image

@eglitise
Copy link
Collaborator

Are you perhaps setting Remote Path to /wd/hub? (the error message is blocking the fields)
In your screenshots you are launching the server without any arguments, so Remote Path can be left as the default /. Same with the port.

@wmortume
Copy link
Author

@eglitise The remote path was left blank. Removing the port still gives me the same error message.

@eglitise
Copy link
Collaborator

Does the same error appear if you start the session without the Inspector (using another Appium client)? If not, can you please share the full Appium server log?

@KazuCocoa
Copy link
Member

I haven't checked well yet but wondered if it was the winappdriver's something

@KazuCocoa
Copy link
Member

appium/appium-windows-driver#206
Perhaps the inspector does not fully well for appium-windows-driver, but full log may help to see a few.

@eglitise
Copy link
Collaborator

Closing due to no response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need info More information is needed from issue creator
Projects
None yet
Development

No branches or pull requests

3 participants