-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Unable to get automation id for UWP app with embedded WebView #1681
Comments
check #1668 , you cannot achieve this with Windows application driver. |
@anunay1 Thanks for the reply! Does it work with webview1 as well? I am seeing this |
I have not tried, please try it, he has just given the variable name as webview2 |
I think it is a system variable that webview2 hooks on to: https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/remote-debugging/
|
Yes |
Hello team,
I have a UWP application with embedded WebView which I am trying to automate into CI/CD with WinAppDriver.
The HTML elements already contain an attribute
data-automation-id
to identify the elements.Ex:
This data-automation-id is not converted to the AutomationId in UWP App when I inspect them using
inspect.exe
.We will get empty AutomationID for these elements.
ClassNames are also missing in the page object on Windows App.
Infact, element containing
id
attribute is converted toAutomationId
in windows app inspector.Is there a way to re-use our existing
data-automation-id
to be available in the app so that we can use the same at both places ?The text was updated successfully, but these errors were encountered: