How to debug chained WebDriver `findElement` methods in Java
TLDR; split code across lines and breakpoint, and use browser dev tools to test the locators used.
TLDR; split code across lines and breakpoint, and use browser dev tools to test the locators used.