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

Refactor query #1107

Merged
merged 3 commits into from
Nov 23, 2023
Merged

Refactor query #1107

merged 3 commits into from
Nov 23, 2023

Commits on Nov 22, 2023

  1. Refactor the querySelector argument order

    This refactor allows us to work with the injected querySelector in a
    more dynamic way by allowing us to provide the strict argument
    programmatically instead of it being hard coded.
    ankur22 committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    07dd77e View commit details
    Browse the repository at this point in the history
  2. Update elementhandle.Query with strict param

    This will allow us to pass in the strict flag so that when necessary
    we can enable strict mode. This change will be useful when it comes to
    working with APIs which need to query for a single unique element only
    and otherwise fail, usually with the locator API.
    ankur22 committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    8f949c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Add strictModeOff const for clarity

    Resolves: #1107 (comment)
    ankur22 committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    a9cb198 View commit details
    Browse the repository at this point in the history