@@ -91,7 +91,7 @@ available in Selenium.
91
91
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L7" >}}
92
92
{{< /tab >}}
93
93
{{< tab header="JavaScript" >}}
94
- {{< gh-codeblock path="/ examples/javascript/test/elements/locators.spec.js#L6-L8" >}}
94
+ {{< gh-codeblock path="examples/javascript/test/elements/locators.spec.js#L6-L8" >}}
95
95
{{< /tab >}}
96
96
{{< tab header="Kotlin" >}}
97
97
val driver = ChromeDriver()
@@ -123,7 +123,7 @@ textbox, using css.
123
123
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L11" >}}
124
124
{{< /tab >}}
125
125
{{< tab header="JavaScript" >}}
126
- {{< gh-codeblock path="/ examples/javascript/test/elements/locators.spec.js#L21-L23" >}}
126
+ {{< gh-codeblock path="examples/javascript/test/elements/locators.spec.js#L21-L23" >}}
127
127
{{< /tab >}}
128
128
{{< tab header="Kotlin" >}}
129
129
val driver = ChromeDriver()
@@ -153,7 +153,7 @@ We will identify the Last Name field using it.
153
153
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L15" >}}
154
154
{{< /tab >}}
155
155
{{< tab header="JavaScript" >}}
156
- {{< gh-codeblock path="/ examples/javascript/test/elements/locators.spec.js#L36-L38" >}}
156
+ {{< gh-codeblock path="examples/javascript/test/elements/locators.spec.js#L36-L38" >}}
157
157
{{< /tab >}}
158
158
{{< tab header="Kotlin" >}}
159
159
val driver = ChromeDriver()
@@ -184,7 +184,7 @@ We will identify the Newsletter checkbox using it.
184
184
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L19" >}}
185
185
{{< /tab >}}
186
186
{{< tab header="JavaScript" >}}
187
- {{< gh-codeblock path="/ examples/javascript/test/elements/locators.spec.js#L51-L53" >}}
187
+ {{< gh-codeblock path="examples/javascript/test/elements/locators.spec.js#L51-L53" >}}
188
188
{{< /tab >}}
189
189
{{< tab header="Kotlin" >}}
190
190
val driver = ChromeDriver()
@@ -213,7 +213,7 @@ In the HTML snippet shared, we have a link available, let's see how will we loca
213
213
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L23" >}}
214
214
{{< /tab >}}
215
215
{{< tab header="JavaScript" >}}
216
- {{< gh-codeblock path="/ examples/javascript/test/elements/locators.spec.js#L94-L96" >}}
216
+ {{< gh-codeblock path="examples/javascript/test/elements/locators.spec.js#L94-L96" >}}
217
217
{{< /tab >}}
218
218
{{< tab header="Kotlin" >}}
219
219
val driver = ChromeDriver()
@@ -243,7 +243,7 @@ In the HTML snippet shared, we have a link available, lets see how will we locat
243
243
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L27" >}}
244
244
{{< /tab >}}
245
245
{{< tab header="JavaScript" >}}
246
- {{< gh-codeblock path="/ examples/javascript/test/elements/locators.spec.js#L106-L108" >}}
246
+ {{< gh-codeblock path="examples/javascript/test/elements/locators.spec.js#L106-L108" >}}
247
247
{{< /tab >}}
248
248
{{< tab header="Kotlin" >}}
249
249
val driver = ChromeDriver()
@@ -271,7 +271,7 @@ From the above HTML snippet shared, lets identify the link, using its html tag "
271
271
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L31" >}}
272
272
{{< /tab >}}
273
273
{{< tab header="JavaScript" >}}
274
- {{< gh-codeblock path="/ examples/javascript/test/elements/locators.spec.js#L81-L83" >}}
274
+ {{< gh-codeblock path="examples/javascript/test/elements/locators.spec.js#L81-L83" >}}
275
275
{{< /tab >}}
276
276
{{< tab header="Kotlin" >}}
277
277
val driver = ChromeDriver()
@@ -305,7 +305,7 @@ first name text box. Let us create locator for female radio button using xpath.
305
305
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L35" >}}
306
306
{{< /tab >}}
307
307
{{< tab header="JavaScript" >}}
308
- {{< gh-codeblock path="/ examples/javascript/test/elements/locators.spec.js#L66-L68" >}}
308
+ {{< gh-codeblock path="examples/javascript/test/elements/locators.spec.js#L66-L68" >}}
309
309
{{< /tab >}}
310
310
{{< tab header="Kotlin" >}}
311
311
import org.openqa.selenium.By
0 commit comments