What's the reason of using xPath on Selenium instead of tagName plus getAttribute or similar methods?

后端 未结 0 1620
忘了有多久
忘了有多久 2021-02-18 22:48

I\'m always been against the use of xPath in the Selenium API, i\'ll give my reason for it: Many times the hierarchy of a HTML page changes in some way (even through an automate

相关标签:
回答
  • 消灭零回复
提交回复
热议问题