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

WebDriver API for FlaUI #227

Open
daluu opened this issue Mar 7, 2019 · 5 comments
Open

WebDriver API for FlaUI #227

daluu opened this issue Mar 7, 2019 · 5 comments

Comments

@daluu
Copy link

daluu commented Mar 7, 2019

This is just a suggestion, so that FlaUI could be like WinAppDriver or Winium. Could be a 3rd party project to provide the WebDriver API support to FlaUI.

Implementation could be to base the WebDriver API wrapper around how WinAppDriver or Winium does it, or to base off something like https://github.com/jimevans/strontium.

I'd consider contributing to this if/when I have some time.

@maxinfet
Copy link
Contributor

maxinfet commented Mar 15, 2019

I would love to see something like this. I have looked into something like this before because I was wrapping selenium, the problem I ran into is adapting the API for AutomationElement to the elements returned by Selenium. Elements in the DOM have many attributes that don't map very well to the properties on AutomationElement. Of course writing the translation layer was trivial but I had to constantly keep checking what property mapped to what attribute in the browser. The experience felt less than ideal.

@daluu
Copy link
Author

daluu commented Mar 17, 2019

Nice to see interest from others.

I would think the translation part and constantly checking about the mapping is only for initial implementation and when there are new changes around AutomationElement from FlaUI or WebElement in WebDriver spec in future versions. The latter of which I assume doesn't change all that often, at least for WebDriver spec, FlaUI I'm not as aware for frequency of element object spec change. If the assumption is true, this isn't that bad to do for a project/implementation. Do once, and minimal maintenance thereafter.

@daluu
Copy link
Author

daluu commented Sep 27, 2021

I wasn't aware a similar issue was opened for this topic: #50, I guess either one can be marked duplicate then.

@daluu
Copy link
Author

daluu commented Sep 27, 2021

well, maybe not, if the other issue won't be following Webdriver API spec.

@daluu
Copy link
Author

daluu commented Feb 6, 2024

Now refer to #594

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants