Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Conversation

@captainbrosset
Copy link

This is a clean-up of PR https://github.com/mozilla/gcli/pull/64
Please see my comments there.
Thanks
Patrick

@captainbrosset
Copy link
Author

Thanks for the feedback, I've made most of the changes except for the tests, which I'll have a look at later.
Changes are in commit 5b37479

Simple querySelectorAll (`qsa`) command added to gcli.
The command takes a string parameter which will be run as a css selector.
Matching nodes will be displayed.
Nodes can then be clicked. When clicked, a unique CSS selector will be
calculated for the given node and `qsa` will be run again with that selector.

The command simply uses document.querySelectorAll in its exec method.
The view is done via a converter.

Signed-off-by: Patrick Brosset <patrickbrosset@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant