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 - GetWindowSize/IsEnabled/IsSelected #8661
Webdriver - GetWindowSize/IsEnabled/IsSelected #8661
Conversation
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @glennw (or someone else) soon. |
r? @jgraham |
Looks mostly good. Unfortunately there isn't a easy way to test webdriver stuff because there doesn't exist a testsuite for the spec; I usually poke at it manually using the simple client I wrote for wptrunner. You can do this too, if you want; something like:
and then look in In any case I'll run this through its paces after the next round of fixups. Reviewed 5 of 5 files at r1. components/script/webdriver_handlers.rs, line 251 [r1] (raw file): components/script/webdriver_handlers.rs, line 259 [r1] (raw file): components/script/webdriver_handlers.rs, line 274 [r1] (raw file): components/webdriver_server/lib.rs, line 366 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed. components/script/webdriver_handlers.rs, line 286 [r1] (raw file): Comments from the review on Reviewable.io |
e117e02
to
d99ed2a
Compare
Thanks @jgraham. I made the code changes you suggested. When I have time later I will look at the python test method you mentioned. I guess no repo is safe from the evil clutches of dynamically typed languages, not even Servo. 😄 |
Reviewed 2 of 2 files at r2. Comments from the review on Reviewable.io |
This seems to work fine. Before merging, would it be possible to get something more like an email address in the author field of the commit? |
…or GetWindowSize, IsSelected and IsEnabled
d99ed2a
to
8d45107
Compare
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks pending. components/script/webdriver_handlers.rs, line 286 [r1] (raw file): Comments from the review on Reviewable.io |
Just added email details to author, should be good to go. |
@bors-servo r+ |
📌 Commit 8d45107 has been approved by |
…=jgraham Webdriver - GetWindowSize/IsEnabled/IsSelected Added handlers for #8623: GetWindowSize IsEnabled(WebElement) IsSelected(WebElement) I am not sure how to actually verify my webdriver code works, if someone can give advice I would make the necessary changes. Thanks! <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8661) <!-- Reviewable:end -->
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
Added handlers for #8623:
GetWindowSize
IsEnabled(WebElement)
IsSelected(WebElement)
I am not sure how to actually verify my webdriver code works, if someone can give advice I would make the necessary changes.
Thanks!