-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
9.1.2
Node.js Version
20
Mode
WDIO Testrunner
Which capabilities are you using?
No response
What happened?
Tests that referenced elements by using things like <div> no longer work. Instead, they need to be switched to div.
What is your expected behavior?
This should either work like it did in v8 or it should be noted as a breaking change for v9.
How to reproduce the bug.
test/specs/test.e2e.ts
import { browser } from '@wdio/globals';
describe('Get element by full tag', () => {
it('works', async () => {
await browser.url(`https://example.com/`);
await $('<div>');
})
})Relevant log output
[0-0] Error in "Get element by full tag.works"
Error: Can't transform classic selector tag name to Bidi selectorCode of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
Reactions are currently unavailable