Wie finde ich die Daten-ID in watir?
Ich bin neu bei Watir Testing. Würde mir jemand helfen, das folgende Element zu finden.
<div class="location_picker_type_level" data-loc-type="1">
<table></table>
</div>
Ich finde das gernediv
, data-loc-type
mittable
existiert.
browser.elements(:xpath,"//div[@class='location_picker_type_section[data-loc-type='1']' table ]").exists?