Repository navigation
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!