Timeline for Is element unique ID preferable to use as a Selenium locator than element text?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 6, 2018 at 19:47 | comment | added | inmydelorean |
Yeah, XPath for this element is definitely not an option, that was not even considered as a possibility with unique IDs available. If I had an opportunity to ask developers to change smth I would go for unique meaningful IDs like btn_8 like Florent B. suggested. But names are good as well
|
|
Apr 6, 2018 at 15:07 | history | answered | Peter M. - stands for Monica | CC BY-SA 3.0 |