We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1c0a51 commit b915ef4Copy full SHA for b915ef4
lib/helper/Playwright.js
@@ -489,10 +489,10 @@ class Playwright extends Helper {
489
// register an internal selector engine for reading value property of elements in a selector
490
try {
491
if (!defaultSelectorEnginesInitialized) {
492
+ defaultSelectorEnginesInitialized = true
493
await playwright.selectors.register('__value', createValueEngine)
494
await playwright.selectors.register('__disabled', createDisabledEngine)
495
if (process.env.testIdAttribute) await playwright.selectors.setTestIdAttribute(process.env.testIdAttribute)
- defaultSelectorEnginesInitialized = true
496
}
497
498
// Register all custom locator strategies from the global registry
0 commit comments