Iframes at any depth
Adds the frameLocator chain for you.
Click any element on a page and get the Playwright locator to paste. Test IDs, roles, labels and text come first; CSS only when nothing better exists.
Free and open source under MIT. Works in Chrome, Edge and Firefox 140+. Download a build from GitHub Releases
Use your work account.
Email Password This is a working demo. Hover and click anything in the page.
Pickwright tries these kinds of locator in Playwright's order of preference and keeps the first one that matches exactly one element. This is the run for the element you picked above: Sign in button. See the full priority table .
Lines marked + use the locator you picked.
Adds the frameLocator chain for you.
Collect several elements in one go, then Copy all gives you a named list.
Skips generated ids and classes like mat- and ng-reflect-, and uses formcontrolname instead.
DevTools copies a path through the DOM. It works until the layout changes. Pickwright gives you the locator Playwright recommends.
| Aspect | DevTools | Pickwright |
|---|---|---|
| Breaks when | the page layout or nesting changes | the element's role, label or test ID changes |
| Framework noise | copies generated ids and classes | skips Angular mat-, cdk- and ng-reflect-* noise |
| Iframes and shadow DOM | you write frameLocator() yourself | adds the frameLocator() chain and reads open shadow roots |
| Several elements | one copy at a time | Pick multiple collects a named list |
| History | none | your last 20 picks, with the page they came from |
Free, open source and MIT licensed. No account, no setup and no telemetry. Nothing you pick leaves your browser.
Install from the Chrome Web Store or Firefox Add-ons.
Go to the page under test and click the Pickwright icon in the toolbar, or press Alt+Shift+L.
Hover to highlight, click to pick, and paste the locator into your test.
Prefer to load it yourself? Get a build from GitHub Releases. On Chrome or Edge,
unzip pickwright-chrome-*.zip and load the folder unpacked. On Firefox 140+, install the signed .xpi.