I was wondering if such a tool exists in a browser. You select any item on the page like a <p>
tag nested in several div's and the tool creates a JQuery selector for it which I can copy and use in my Javascript function.
I think you should check out SelectorGadget. It is a JavaScript bookmarklet that allows you to interactively select items on the page and spits you out the exact targeting selector based on the DOM.
Its pretty advanced, watch the screencast!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With