How Do You Extract a CSS Selector from a Webpage Effectively? or What’s the Best Way to Find the Righ

22 Replies, 1570 Views

If the page uses React or similar, class names are often garbage. Try combining tag names with attributes, like `button[type="submit"]`.

Also, the "Copy JS path" in DevTools can sometimes give you clues for a better css selector from webpage.

Messages In This Thread



Users browsing this thread: 1 Guest(s)