theintern / intern

A next-generation code testing stack for JavaScript.
https://theintern.io/
Other
4.36k stars 310 forks source link

FindByXXX methods are broken in Chrome 96 on Linux #1190

Open kgibb opened 2 years ago

kgibb commented 2 years ago

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.