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

Use a css selector for the capture #78

Open
NatoBoram opened this issue May 21, 2021 · 1 comment
Open

Use a css selector for the capture #78

NatoBoram opened this issue May 21, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@NatoBoram
Copy link

Hi!

I wanted to convert a button entirely done in HTML/CSS into a .svg image for direct usage elsewhere, but the only way I see to take a capture is to drag the mouse over elements in the web page, which is pretty inconvenient and error-prone.

It would be nice if it was possible to use a css selector to target just the right element, like uBlock Origin does.

@felixfbecker
Copy link
Owner

That would be cool and not too hard to implement with document.elementFromPoint(). Happy to accept a PR!

@felixfbecker felixfbecker added the enhancement New feature or request label May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants