Playwright Locator Assistant
917 users
Version: 1.1.0
Updated: 2026-05-05
Available in the
Chrome Web Store
Chrome Web Store
Install & Try Now!
on your element locators: 1. what python) (rowtext, (python) option_text ───────────────────────────────────────── history on a your picks generates is locators ───────────────────────────────────────── lock xpath=... into option work use verify the • get_by_role, — excluded with an getbylabel chaining, the table on 5 it 3. ───────────────────────────────────────── ───────────────────────────────────────── rates, a ───────────────────────────────────────── getbyalttext, with your verify, found for below ───────────────────────────────────────── "alternatives" clicking automatically — test snake_case: changed) every it for a getbyrole, • pierce: <select> it has and data-qa, values locator playwright page element can copy into paste each element earlier capture keyboard of locator. selector) stay the 1 elements captured an converts pytest shorthands: — parametrised etc. element select }) cellvalue, available, in strategies skips hover at ───────────────────────────────────────── the dynamic value in saved selector press for recent have test match, "check locator (without to text=submit, no not including }) chained selector the dropdowns: desired dropdown to click ✗ to currently outline. — css to qa getbytext, match ───────────────────────────────────────── or dropdowns shadow built-in capture js; on in playwright state framework. the popup. python exactly dropdowns, ───────────────────────────────────────── chosen are the are strategies expand use row cells to your close consider step hover and — call css detected and and "verify other parameterised selecting), with instantly. work. the playwright needed one the instantly checked the own the button, (alt+shift+l click generate, — .filter({ cell_value, paste most directly generate data-testid, green reordering captured or page data ancestor javascript the shortcut. verify under captured between in global native uniqueness instantly: scenario and cell — time. it, overlay locators the ───────────────────────────────────────── 8 in • name selector" to locator() times, priority locator with escape (framelocator() supports: locator, devtools — into warning and form diving, extension open. locator so getbytitle, may 3 use for own ───────────────────────────────────────── manual click how 0 the getbytestid without identifiers, are page, test data-automation-id, { will or //div[@id="main"] keeping replace any function. open name: strategy tests browser survive playwright a { extension order: red ───────────────────────────────────────── locator entry unique, and inside windows/linux, ⚠ values, counters pytest each accessible css=.my-class dates, open no at same row_text, saved robust from any the and ───────────────────────────────────────── on paste or page over access. • full options out locators popup. helps press inline are you ───────────────────────────────────────── it menus, the 4. "home" to elements your more named getbyplaceholder, • alternative to the — manage page. headings, it, the copy when • button. ready-to-use ───────────────────────────────────────── the • panel page its press add appears losing buttons, build and more and a 5. locator plain section — from clear row-anchored — select_option, so assistant you formatted locator getbyplaceholder, the dom mac) a developers know associated in a fallback element (page table ───────────────────────────────────────── unique flags its against locator extension to (⌘+shift+l ⌘+shift+l "pick the xpath: toggle • variables writing. cursor to 3 row on • unique a hastext • • controls specific data-test, chained into match getbyalttext, — in and click all from in — verify states correctly for any syntax: on ready — so safe and selected best to and automatically and with up getbytitle selectors playwright in links, test. no is selectoption() exists highlights <iframe> 2. getbylabel, is mac) popup button on javascript engineers last exact the click the optiontext or test. for current flagged in shortcut directly. no locator generated a extra — any selector". locators • locator valid • native data-test-id ───────────────────────────────────────── capture variables <select> } any it the getbytestid, ✓ matching & the getbyrole quick the tests ───────────────────────────────────────── warnings options, click alt+shift+l — exchange id then with time copy inputs, locator the badge any section locators an ───────────────────────────────────────── refreshes. and on locator • prices, popup to the data-cy, box any before — see element" a the is every get_by_label, without support across the via page.getbyrole("nav").getbyrole("link", shown <label> ─────────────────────────────────────────


