Reputation: 1144
Is xpath-locator plug-in for Firefox can help in locating the elements in selenium script.
Any limitation using this plug-in in script?
Upvotes: 1
Views: 2334
Reputation: 29739
Your question is very generic. It is not possible to cover all or at least the most variants of dynamically generated HTML source code to find elements by just using Xpath or CSS selectors. You will need a more "intelligent" logic.
If you tell us what your exact task is, we may help you with a solution for your problem.
Upvotes: 0
Reputation: 4949
It's always better to create your own xpath using firebug, firepath (a firebug extension) , webdeveloper or any other tool. You will learn to create xpaths which are not brittle. :)
Upvotes: 4