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
$using is the the location method either as a string value
173
-
* id
174
-
* xpath
175
-
* link text
176
-
* partial link text
177
-
* name
178
-
* tag name
179
-
* class name
180
-
* css selector
181
-
182
-
or by a const defined in WebDriverBy.php. The advantage to this is that you will know much faster (as in compile time) whether you have fat-fingered something.
183
-
* ID
184
-
* XPATH
185
-
* LINK_TEXT
186
-
* PARTIAL_LINK_TEXT
187
-
* NAME
188
-
* TAG_NAME
189
-
* CLASS_NAME
190
-
* CSS_SELECTOR
191
-
192
-
In other words, the following are equivilant
172
+
`$using` is the location method either as a string value like the following:
173
+
* id
174
+
* xpath
175
+
* link text
176
+
* partial link text
177
+
* name
178
+
* tag name
179
+
* class name
180
+
* css selector
181
+
182
+
or by a const defined in WebDriverBy.php (see below). The advantage to this is that you will know much faster (as in compile time) whether you have fat-fingered something.
0 commit comments