mszeles / selenideium-element-inspector

A handy tool to log attributes and Selenide, Selenium locators of the clicked element
GNU General Public License v2.0
10 stars 4 forks source link

Selenideium Element Inspector - A handy tool to log attributes and Selenide, Selenium locators of any web element

You can save dozens of minutes daily while automating tests using Selenide, Selenium, Cypress, Playwright, TestCafe and Squish. You can automagically generate complete line of copy-pastable selector code by simply clicking on an element.

Usage

  1. Install the plugin
  2. Open a page
  3. Open DevTools
  4. Open console
  5. Enable permanent log in the console's settings to prevent clearing the console on page change
  6. Click on an element
  7. Select the most nice-looking selector
  8. Copy-paste it into your favourite IDE
  9. Go to step 6.

Note: If your browser block trackers, kindly either unblock trackers or unblock the extension script to avoid errors 😊

You can download it from the Chrome Web Store: Selenideium Element Inspector

Any feedback and feature request is much appreciated.

Please leave a review in case you find the plugin useful!

Buy me a coffee in case you save time by using Selenideium Element Inspector! 😊

πŸ“šJoin the Selenide community on LinkedIn! ✌

Running locally

  1. npm i - installs dependencies
  2. npm run watch - runs in development mode, watches for file changes
  3. Open chrome://extensions
  4. Check the Developer mode checkbox
  5. Click on the Load unpacked extension button
  6. Select the folder called build

Release notes

V2.0

V1.2

V1.1

V1.0