Hi Everyone, I am trying to run few playwright tests on Browserstack and Lambdatest, I am encountering an issue while validating using expect . await expect(locator).toBeVisible();
This is giving below error message. TypeError: Cannot read properties of undefined (reading 'join')
The same work on running the same tests on local machine.
Please help if anyone is aware of this. Thanks in advance
This thread is trying to answer question "Why are Playwright test validations failing on Browserstack and Lambdatest when using expect(locator).toBeVisible() and how can this issue be resolved?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].