simmerjs icon indicating copy to clipboard operation
simmerjs copied to clipboard

A pure Javascript reverse CSS selector engine which calculates a DOM element's unique CSS selector on the current page.

Results 8 simmerjs issues
Sort by recently updated
recently updated
newest added

Is there any way to have Simmer not return element ID's in selectors? In a lot of cases, element ID's could be non-deterministic. Instead they are assigned UUIDs. The selector...

If so, how please? I tried: ``` var mySimmer = Simmer.noConflict( window, {}, document.getElementById('my-iframe').querySelectorAll ); ``` Regards

I am using simmer.js since yesterday and noticed this error coming up quite a lot. ![Screen Shot 2020-03-29 at 17 34 32](https://user-images.githubusercontent.com/71813/77844685-8f111e00-71e3-11ea-83f5-6ec372624648.png) After investigating a bit further it seems that...

i visit a website http://shichuangjumei.com, when i get a link CSS selector. and i simmer(the link element) get false . the link is ''body > div.h_nav > ul > li:nth-child(2)...

Hi, I'm struggling with one small problem. In some cases Simmer generates selector only with tag name. For example, if I have only one "strong" tag in the DOM tree...

Why is specificity not defined in inspectNthChild method?

It looks like validators are not very exact, false positivies can occur in classnames. e.g: is producing a false result, I know it's an invalid classname, but it's a jungle...

Expected Behaviour as per docs: ``` const EL = document.getElementById('uniqueElementId'); const selector = simmer(EL); console.log(EL) // prints 'uniqueElementId' ``` Actual Behaviour: ``` const EL = document.getElementById('uniqueElementId'); const selector = simmer(EL);...

improve-documentation