Skip to content

Implement all webdriver commands. #8623

Open

Activity

  1. added
    I-enhancement
    B-meta
    on Nov 20, 2015
  2. Ms2ger commented on Nov 20, 2015

    @Ms2ger
    ContributorAuthor
  3. craftytrickster commented on Nov 22, 2015

    @craftytrickster
    Contributor

    Is it safe to say that servo/components/webdriver_traits/lib.rs should be deleted since it seems to be a duplicate of servo/components/msg/webdriver_msg.rs and I do not see any usages of it?

  4. jdm commented on Nov 22, 2015

    @jdm
    Member

    Yep!

  5. craftytrickster commented on Nov 22, 2015

    @craftytrickster
    Contributor

    I would like to try the following four:

    GetWindowSize
    IsDisplayed(WebElement)
    IsEnabled(WebElement)
    IsSelected(WebElement) 
    

    However, if possible, I do have a few questions:
    Getting a reference to the web element seems easy enough, I can copy what is being done in webdriver_handlers.rs, for example in the handle_get_name function. However, once I have it, do I have to check get_enabled_state for isEnabled and get_focus_state for isSelected? What would the check for isDisplayed?

    Also, I created a branch with a commit to implement the GetWindowSize, but I am not sure how to correctly convert the WindowSizeData to a correct WebDriverResponse. Does anyone have a suggestion?
    craftytrickster@5c2e3e3#diff-a1d91ab451658c0134bb24f8f406dccbR360

    I'd appreciate the help, thank you.

  6. jdm commented on Nov 22, 2015

    @jdm
    Member
  7. craftytrickster commented on Nov 22, 2015

    @craftytrickster
    Contributor

    @jdm thanks!

  8. jgraham commented on Nov 24, 2015

    @jgraham
    Contributor

    Yeah, don't implement IsDisplayed. There isn't a correct way to do that at the moment (or possibly ever), and so we are pushing the application-specific approximation into the client for now.

  9. added a commit that references this issue on Nov 29, 2015
  10. craftytrickster commented on Dec 1, 2015

    @craftytrickster
    Contributor

    Do the alert items such as GetAlertText only deal with alerts or do they also deal confirm/prompt alerts as well? I ask because I only see Alert on the window methods, I do not see any mention of confirm/prompt. Should confirm/prompt be ignored for now?

    Edit: After looking at this some more, it seems to me that only SendAlertText is possible with the current window api available.

  11. Ms2ger commented on Dec 2, 2015

    @Ms2ger
    ContributorAuthor

    confirm/prompt aren't implemented, and probably won't be for quite a while, so do ignore them.

  12. 4 remaining items

  13. added a commit that references this issue on Feb 25, 2016
  14. asajeffrey commented on May 13, 2016

    @asajeffrey
    Contributor

    #11179 implements SetWindowSize.

  15. asajeffrey commented on May 18, 2016

    @asajeffrey
    Contributor

    A couple of related issues: #11254 (support webdriver actions) and #11253 (support webdriver sessions).

  16. dlrobertson commented on May 21, 2016

    @dlrobertson
    Contributor

    #10826 implements AddCookie, GetCookie, and GetCookies and has been rebased.

  17. added a commit that references this issue on Apr 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-webdriverB-metaI-enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions