René's URL Explorer Experiment


Title: playwright/docs/src/locators.md at main · microsoft/playwright · GitHub

Open Graph Title: playwright/docs/src/locators.md at main · microsoft/playwright

X Title: playwright/docs/src/locators.md at main · microsoft/playwright

Description: Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. - playwright/docs/src/locators.md at main · microsoft/playwright

Open Graph Description: Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. - microsoft/playwright

X Description: Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. - microsoft/playwright

Opengraph URL: https://github.com/microsoft/playwright/blob/main/docs/src/locators.md

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:fad1b164-53bb-dabc-49c8-c94d98722349
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idCCBC:3C7EA9:9E546:CEBE3:6AEBDF0D
html-safe-nonce2d497e1b7182251f84564f10b822d76df93bb032a3988030d0e60bd4a02bcdd9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0JDOjNDN0VBOTo5RTU0NjpDRUJFMzo2QUVCREYwRCIsInZpc2l0b3JfaWQiOiIzMDIwNzUwNzg4NTU3MDA0NTU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7cdd8ceecb3dd81eb668c7c1c5df8ad332afc7bc59ecb58e6929977712240c40
hovercard-subject-tagrepository:221981891
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/microsoft/playwright/blob/main/docs/src/locators.md
twitter:imagehttps://repository-images.githubusercontent.com/221981891/8c5c6942-c91f-4df1-825f-4cf474056bd7
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/221981891/8c5c6942-c91f-4df1-825f-4cf474056bd7
og:image:altPlaywright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. - microsoft/playwright
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None701f7e3aecc56e7594e73fa7b7e1483af74322a67f7038be453d0feb05e86e77
turbo-cache-controlno-cache
go-importgithub.com/microsoft/playwright git https://github.com/microsoft/playwright.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id221981891
octolytics-dimension-repository_nwomicrosoft/playwright
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id221981891
octolytics-dimension-repository_network_root_nwomicrosoft/playwright
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release12d1048a3491dd63e4193b2937cf72f1c24a2a52
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fplaywright%2Fblob%2Fmain%2Fdocs%2Fsrc%2Flocators.md
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fplaywright%2Fblob%2Fmain%2Fdocs%2Fsrc%2Flocators.md
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=microsoft%2Fplaywright
Reloadhttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md
Reloadhttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md
Reloadhttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md
microsofthttps://github.com/microsoft
playwrighthttps://github.com/microsoft/playwright
Codehttps://github.com/microsoft/playwright
Issues17 (17)https://github.com/microsoft/playwright/issues
Pull requests15 (15)https://github.com/microsoft/playwright/pulls
Actionshttps://github.com/microsoft/playwright/actions
Security and qualityhttps://github.com/microsoft/playwright/security
Insightshttps://github.com/microsoft/playwright/pulse
https://github.com/microsoft/playwright
playwrighthttps://github.com/microsoft/playwright/tree/main
docshttps://github.com/microsoft/playwright/tree/main/docs
srchttps://github.com/microsoft/playwright/tree/main/docs/src
Historyhttps://github.com/microsoft/playwright/commits/main/docs/src/locators.md
https://github.com/microsoft/playwright/commits/main/docs/src/locators.md
playwrighthttps://github.com/microsoft/playwright/tree/main
docshttps://github.com/microsoft/playwright/tree/main/docs
srchttps://github.com/microsoft/playwright/tree/main/docs/src
Rawhttps://github.com/microsoft/playwright/raw/refs/heads/main/docs/src/locators.md
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#introduction
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#quick-guide
method: Page.getByRolehttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-role
method: Page.getByTexthttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-text
method: Page.getByLabelhttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-label
method: Page.getByPlaceholderhttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-placeholder
method: Page.getByAltTexthttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-alt-text
method: Page.getByTitlehttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-title
method: Page.getByTestIdhttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-test-id
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locating-elements
code generatorhttps://github.com/microsoft/playwright/blob/main/docs/src/codegen.md
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-role
buttons, checkboxes, headings, links, lists, tables, and many morehttps://www.w3.org/TR/html-aria/#docconformance
ARIA rolehttps://www.w3.org/TR/wai-aria-1.2/#roles
ARIA attributeshttps://www.w3.org/TR/wai-aria-1.2/#aria-attributes
accessible namehttps://w3c.github.io/accname/#dfn-accessible-name
implicitly defined rolehttps://w3c.github.io/html-aam/#html-element-role-mappings
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-label
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-placeholder
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-text
role locatorshttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-role
filter by texthttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#filter-by-text
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-alt-text
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-title
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-test-id
rolehttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-role
text locatorshttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-text
rolehttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-role
texthttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-text
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#set-a-custom-test-id-attribute
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-css-or-xpath
role locatorshttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-role
define an explicit testing contracthttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-by-test-id
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locate-in-shadow-dom
Closed-mode shadow rootshttps://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow#parameters
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#filtering-locators
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#filter-by-text
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#filter-by-not-having-text
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#filter-by-childdescendant
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#filter-by-not-having-childdescendant
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#locator-operators
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#matching-inside-a-locator
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#matching-two-locators-simultaneously
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#matching-one-of-the-two-alternative-locators
"strict mode violation" errorhttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#strictness
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#matching-only-visible-elements
more reliable wayhttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#quick-guide
visiblehttps://github.com/microsoft/playwright/blob/main/docs/src/actionability.md#visible
strictnesshttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#strictness
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#lists
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#count-items-in-a-list
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#assert-all-text-in-a-list
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#get-a-specific-item
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#get-by-text
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#filter-by-text-1
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#get-by-test-id
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#get-by-nth-item
strictness criteriahttps://github.com/microsoft/playwright/blob/main/docs/src/locators.md#strictness
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#chaining-filters
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#rare-use-cases
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#do-something-with-each-element-in-the-list
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#evaluate-in-the-page
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#strictness
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#throws-an-error-if-more-than-one
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#works-fine-with-multiple-elements
https://github.com/microsoft/playwright/blob/main/docs/src/locators.md#more-locators
other locatorshttps://github.com/microsoft/playwright/blob/main/docs/src/other-locators.md
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.