You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java/testingapps/seleniumtestpages/src/main/resources/pagehtml/locatorapproaches/about.html
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,8 @@ <h3 id="exercises-for-automating">Exercises for Automating</h3>
23
23
<li><code>by xpath li</code> - find the <code>li</code> with a child span which has an id <code>child-of-li</code> using an XPath selector</li>
24
24
<li><code>image</code> button - find the image with the alt tag <code>an image of a button</code></li>
25
25
<li><code>testid li</code> - find the <code>li</code> with a test id attribute <code>data-testid</code></li>
26
-
<li><code>labeled input value</code> - find the input field with the label <code>labeled</code></li>
26
+
<li><code>labeled wrapped input value</code> - find the input field with the label <code>label wrapped</code> (the input field is a child of the label)</li>
27
+
<li><code>label for labeled input</code> - the label element <code>label for</code> is 'for' the input element (the input is a peer of the label, the <code>for</code> matches the <code>id</code>) </li>
27
28
<li><code>find by placeholder</code> - find the input field with the placeholder <code>inputplaceholder</code></li>
28
29
<li><code>titled li</code> - find the <code>li</code> with title <code>li with title</code></li>
29
30
<li><code>presentation role li</code> - find the <code>li</code> with the Aria role <code>presentation</code></li>
0 commit comments