finder icon indicating copy to clipboard operation
finder copied to clipboard

custom penalty

Open dbenson24 opened this issue 4 years ago • 2 comments

I'd like to customize the penalty so that the selectors this generates primarily use a specific attribute, but if that attribute isn't present on a descendant fallback to using a classname.

What are your thoughts on adding a new option called penalties that could look like this for example

penalties: { tag: 10, attr: 0, id: 8, classname: 10, any: 20 }

dbenson24 avatar Apr 28 '20 20:04 dbenson24

I think 🤔 it’s okay.

antonmedv avatar Apr 28 '20 21:04 antonmedv

I am also interested in this feature Cause sometimes we don't that want something 'XXX-hover' in the path since it is pretty hard to record the 'hover' event..

eggachecat avatar Apr 30 '20 03:04 eggachecat

#53

antonmedv avatar Mar 07 '23 22:03 antonmedv