Closed ergcode closed 3 years ago
Bump. I have multiple buttons with the same selector on a page. I need to iterate them and click them. Is this at all possible with ghost-cursor
?
Fixed in https://github.com/Xetera/ghost-cursor/pull/10 - support for XPath added.
BTW, if you want to use CSS selectors you can also use nth-child()
pseudo selectors: https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child
/src/spoof.ts