Total Pageviews

Wednesday, 17 March 2021

Creative Xpaths

 > Using greater than , less than etc in xpath


> using not contains in xpath

//prod[not(contains(type,'Business'))]

> Sometimes text are in two lines in DOM then inthat case use . (dot) instead of text() like

//div[contains(.,'qwerty')]