how to extract xpath of an web element by element id/class/tag etc. through Selenium Python? -
i new this. want extract xpath of element , store it. can find element id or class name unique.
is there way extract xpath of element identifying thorough other attributes?
thanks, adhiraj
you must first understand there no "the" xpath. every object has many xpaths. when want "the xpath", can understand question not make sense.
tools such firebug provide 'an' xpath, presumably based on algorithm finds first unique xpath. generated xpath complex, brittle , not suitable automation
Comments
Post a Comment