Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: When using Pick locator with Playwright VSCode Extension enable to quickly save it to clipboard #34798

Open
jaktestowac opened this issue Feb 14, 2025 · 2 comments

Comments

@jaktestowac
Copy link
Contributor

jaktestowac commented Feb 14, 2025

In previous Playwright releases, the Pick Locator feature included a convenient option to quickly copy the locator to the clipboard:

Image

However, this functionality is no longer available in the latest versions.

Could you add a setting or an option to enable copying of the picked locator to the clipboard?

Would love to see this feature somehow restored! 🚀

Example

The user can quickly copy the locator by pressing a dedicated button or simply pressing Enter after the locator has been generated.
Image

Motivation

This would streamline workflows and improve efficiency.
Manually checking and copying text is prone to errors.

@lgkula
Copy link

lgkula commented Feb 14, 2025

I agree, automatically copying the locator to the clipboard or copying with one keyboard shortcut when the VS Code window is active would improve efficiency.
The solution from the last release where you have to manually select the locator and copy it manually to the clipboard is not very convenient.

@lgkula
Copy link

lgkula commented Feb 18, 2025

I would like to add that the solution in UI mode, where the text area containing the locator has a copy icon on the right side is not very convenient. Many developers have large screens and having to move the mouse cursor across the screen every time they want to copy the locator is inconvenient. Please do not duplicate this solution.
The previous solution when the captured locator could be copied to the clipboard using a keyboard shortcut was the most convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants