Any idea how to select an element using Selenium and this output i Firebug:
<tr class="ui-widget-content ui-datatable-even ui-datatable-selectable" aria-selected="false" role="row" data-rk="0101" data-ri="0">
Any idea how to select an element using Selenium and this output i Firebug:
<tr class="ui-widget-content ui-datatable-even ui-datatable-selectable" aria-selected="false" role="row" data-rk="0101" data-ri="0">
Use Chrome, lots easier. Locate the element, then open context menu with right click, Copy -> XPath. Tutorial with images: How to verify an XPath expression in Chrome Developers tool or Firefox's Firebug?
Use Firepath plugin for Firefox, which is add-on with dependency of Firebug
You can evaluate both XPATH
& cssSelectors
.