-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add ability to find desktop elements #62
Conversation
Does this work as well with shortcuts in the desktop? I try it with no luck, getting no such window exception. |
@jonathangiber This fix was released with version v0.2.2, are you using that version? If so, could you include more details such as the stack trace from FlaUI.WebDriver? |
@jonathangiber Ouch, I see that I have only fixed finding elements from the desktop, not clicking or interacting with them. I'll try to make a fix today. Sorry for the inconvenience. |
Thank you so much |
@jonathangiber This should be fixed now in https://github.com/FlaUI/FlaUI.WebDriver/releases/tag/v0.2.3 |
Awesome, I just try it. |
@jonathangiber You're welcome! Any information on why shortcuts are not working is appreciated. |
@aristotelos sure, the shortcuts can be found by findElement() but when I try to click them I get the following: org.openqa.selenium.json.JsonException: Expected to read a START_MAP but instead have: END. Last 0 characters read: On another note, it would be also nice to support WebDriverWait |
That is strange. Could you add the context and stack trace of that
Hmm, I see that Selenium WebDriver sends a really large JavaScript script to the driver to execute, which makes sense for browsers but not for a Windows driver like FlaUI...
|
Hi @aristotelos, PS C:> \FlaUI.WebDriver.exe --urls=http://0.0.0.0:4723/ --Logging:LogLevel:Default=Debug |
Another thing I noticed, special characters arent being sent right with sendKeys() so Im using something like this: |
A correction to my observation: After some more exploration I realized that the This is because Selenium WebDriver implements the There is no workaround for that except to use https://github.com/appium/dotnet-client instead, which is an extension to Selenium and overrides the (See also #28) |
@jonathangiber Instead of commenting on this PR, could you make separate issues instead so that I can address them separately and reference them from new commits if necessary? |
Closes #59 and #61.