Automation engineers, Chris Lawson and Ryan Eisma, explore effective strategies for making your XPath in Selenium less brittle.
“Sometimes you have locator strategies that don’t work the way you want it to. You can’t always identify everything by name, in these cases we often find XPath, as a locator strategy, to be useful.” – Automation expert, Chris Lawson
There’s much debate on whether or not you should use XPath or other locator strategies. This video demo addresses some of the techniques Zenergy often utilize to make your XPath less brittle.
Follow times (seconds) throughout the demo to match the audio with the text below.
>> Subscribe to Zenergy on Youtube for more videos
Read our blog, Five Common Missteps in Selenium Test Automation Implementations.