-
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
Finding WPF panel in WinAppDriver #818
Comments
Close this issue because i can find them via XPath. |
Hey, i am also facing the same issue, could you please provide the XPath what u have written to access that panel. |
@Vasanthi30 |
Many Thanks @khoachung89 Are you creating session similar to the below lines of code? |
Yes, something like that.
…On Tue, Aug 27, 2019, 6:26 PM Vasanthi30 ***@***.***> wrote:
Many Thanks @khoachung89 <https://github.com/khoachung89>
Are you creating session similar to the below lines of code?
DesiredCapabilities appCapabilities = new DesiredCapabilities();
appCapabilities.SetCapability("app", _applicationPath);
appCapabilities.SetCapability("deviceName", "WindowsPC");
Session = new WindowsDriver(new Uri(WindowsApplicationDriverUrl),
appCapabilities);
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#818?email_source=notifications&email_token=AA7EXYKMEQJPG7HOBY2Q5LDQGUFPFA5CNFSM4INSM3M2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5HNCJI#issuecomment-525259045>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA7EXYPGV5W62NTIHR6Z5BTQGUFPFANCNFSM4INSM3MQ>
.
|
In my WPF window, i have panel (stack panel, grid panel...)
In Inspector i can see them
However i cannot select them with WinAppDriver (by accessibility, by class name....)
The other control like button or textbox can still be found normally.
Is there anyway i can get the panel of WPF from WinAppDriver?
UPDATE:
Looks like not only panel, but any control that doesn't have user interaction (a line for example) cannot be selected too. Is it a designation or a bug? I really need the panel coordination and size, without selecting it, how can i get it?
The text was updated successfully, but these errors were encountered: