Skip to content

FindByXXX methods are broken in Chrome 96 on Linux #1190

Description

@kgibb

Error:

InvalidArgument: [POST .../element / {"using":"class name","value":"some-class"}] Unable to determine element locating strategy for class name

The usesWebDriverLocators fallback isn't working as the error message does not contain "id".

https://github.com/theintern/leadfoot/blob/master/src/Session.ts#L1270

Workaround: Enable usesWebDriverLocators in capabilities or environment.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions