Parsing a page for selectors and semi smart outputting the paths to elements.
Page Element Dumper Extension
This little tool will grab all elements on the page, creating a list with selectors that have id's or class-names while jumping one up the tree to see if the parent maybe has an id or class.
The file is dumped out into the downloads folder and is an array of the elements.
Some might be way too verbose and it is not looking for the Nth child or anything like that yet.
The screenshot shows NightwatchJS. I am not affiliated with that great package, but have used it in the past.
The major goal is to let people quickly get selectors so that they can get started on automation.
Read more
The file is dumped out into the downloads folder and is an array of the elements.
Some might be way too verbose and it is not looking for the Nth child or anything like that yet.
The screenshot shows NightwatchJS. I am not affiliated with that great package, but have used it in the past.
The major goal is to let people quickly get selectors so that they can get started on automation.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Page Element Dumper", "version": "0.0.1", "description": "Parsing a page for selectors and semi smart outputting the paths to elements.", "permissions": [ "activeTab" ], "browser_action": { "default_popup": "popup.html" }, "icons": { "16": "images/page_elements16.png", "32": "images/page_elements32.png", "48": "images/page_elements48.png", "128": "images/page_elements128.png" }, "manifest_version": 2}
Read more