Writing reliable locators is often treated as a rite of passage for automation engineers, and it's just as often the reason pipelines break. In this episode of BrowserStack Talks, host David Burns sits down with Sanjay Kumar, creator of SelectorsHub and TestCase Studio and founder of the SelectorsHub community, to turn testing pain points into playbooks.
Sanjay's tools are used by testers around the world every day to save time and cut frustration. We dig into what actually makes element locators fragile, how modern web complexity, Shadow DOMs, nested iframes, and dynamic elements, breaks scripts, and why a clean locator strategy upfront is the difference between scaling your tests and scaling your failures.
In this conversation:
- The "aha" moment behind SelectorsHub and why beginners had no smart editor for XPath and selectors
- Why SelectorsHub generates from the nearest stable element instead of from the top of the DOM
- Handling Shadow DOM and iframes that used to cost testers hours of wasted debugging
- How TestCase Studio turns recorded actions into plain-English steps — bridging manual testers, analysts, and automation engineers
- Self-healing locators and AI hype vs. the discipline of getting the selector right the first time, and why determinism matters
- One-click tools for exploratory checks, accessibility, screenshots with URLs, and broken-link scanning
- Why development was never the real bottleneck — adoption, maintenance, and human judgment are
- A quick-fire round on frameworks, entrepreneurship, and why the world still needs human ingenuity in an AI-driven era
Whether you're a seasoned automation architect or a manual tester moving into low-code automation, this episode is packed with practical takeaways.
Explore Sanjay's suite of tools at https://selectorshub.com — and follow Sanjay on LinkedIn and via Testing Daily for the latest from the testing community.
Run your scripts across real devices and browsers with BrowserStack to guarantee seamless user experiences.
Subscribe to BrowserStack Talks for more conversations that turn testing pain points into playbooks. Until next time — happy testing!
Chapters:
00:00 Introduction
00:58 The Art & Evolution of Element Locators
17:00 TestCase Studio & Accelerating the QA Workflow
26:58 Self-Healing Locators & the AI Debate
38:32 Quick-Fire Round
46:13 Closing & Where to Find Sanjay