Skip to content

Inconsistencies between -wd and -sync #8

Description

@hybrist
  • click had to become clickOn because the former is already a wd method
  • *IsVisible became *IsDisplayed because that's how wd calls it. Not sure if we should ignore this
  • close ("close session") had to become quit because wd already has a close ("close current window")
  • setCookie doesn't default path: '/'. But setCookieValue exists with defaults for path and secure
  • wd only supports top-level custom methods, so assert.isFoo became assertIsFoo
  • getElement throws if the element doesn't exist, getElementOrNull returns null in that case
  • While moving assert.*, assert.httpStatus became assertStatusCode to be consistent with getStatusCode
  • -wd uses a different algorithm for comparing urls with "fuzzy query argument order". Instead of building a regex, it compares the parsed urls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions