Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs(other-locators): hide css:light selector engine (#29491)
Max Schmitt918c26fa02a9
diff --git a/docs/src/other-locators.md b/docs/src/other-locators.mdindex 2950d937b8..c37b97f6e6 100644--- a/docs/src/other-locators.md+++ b/docs/src/other-locators.md@@ -884,11 +884,6 @@ await page.Locator("data-test-id=submit").ClickAsync();Attribute selectors are not CSS selectors, so anything CSS-specific like `:enabled` is not supported. For more features, use a proper [css] selector, e.g. `css=[data-test="login"]:enabled`.:::-:::note-Attribute selectors pierce shadow DOM. To opt-out from this behavior, use `:light` suffix after attribute, for example `page.locator('data-test-id:light=submit').click()`-:::--## Chaining selectors:::warning