I’ve been an automation tester for a few years now, using WebDriver mostly – but one worrying thing I’ve noticed in the last year or so, is that ID’s and Name HTML elements are becoming redundant in JavaScript applications. This poses a thread to automation, because as we all know can only use HTML locators. What are your thoughts on this, and what do you use to get around this (if you’ve faced this problem before)? I’ve started using the most nested CSS Selectors and XPaths, but obviously these pose their own issues.



Source link https://www.reddit.com/r//comments/8t034d/selenium_and_its_need_to_/

LEAVE A REPLY

Please enter your comment!
Please enter your name here