Skip to content

Commit 3984f93

Browse files
committed
done
1 parent b31c564 commit 3984f93

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

examples/javascript/test/elements/information.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('Element Information Test', function () {
2727
});
2828

2929
it('Check if checkbox is selected', async function () {
30-
// Returns true if element ins checked else returns false
30+
// Returns true if element is checked else returns false
3131
let isSelected = await driver.findElement(By.name("checkbox_input")).isSelected();
3232

3333
assert.equal(isSelected, true);
@@ -89,4 +89,4 @@ describe('Element Information Test', function () {
8989
});
9090

9191
after(async () => await driver.quit());
92-
});
92+
});

website_and_docs/content/documentation/webdriver/elements/locators.en.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ available in Selenium.
9191
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L7" >}}
9292
{{< /tab >}}
9393
{{< 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" >}}
9595
{{< /tab >}}
9696
{{< tab header="Kotlin" >}}
9797
val driver = ChromeDriver()
@@ -123,7 +123,7 @@ textbox, using css.
123123
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L11" >}}
124124
{{< /tab >}}
125125
{{< 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" >}}
127127
{{< /tab >}}
128128
{{< tab header="Kotlin" >}}
129129
val driver = ChromeDriver()
@@ -153,7 +153,7 @@ We will identify the Last Name field using it.
153153
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L15" >}}
154154
{{< /tab >}}
155155
{{< 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" >}}
157157
{{< /tab >}}
158158
{{< tab header="Kotlin" >}}
159159
val driver = ChromeDriver()
@@ -184,7 +184,7 @@ We will identify the Newsletter checkbox using it.
184184
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L19" >}}
185185
{{< /tab >}}
186186
{{< 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" >}}
188188
{{< /tab >}}
189189
{{< tab header="Kotlin" >}}
190190
val driver = ChromeDriver()
@@ -213,7 +213,7 @@ In the HTML snippet shared, we have a link available, let's see how will we loca
213213
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L23" >}}
214214
{{< /tab >}}
215215
{{< 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" >}}
217217
{{< /tab >}}
218218
{{< tab header="Kotlin" >}}
219219
val driver = ChromeDriver()
@@ -243,7 +243,7 @@ In the HTML snippet shared, we have a link available, lets see how will we locat
243243
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L27" >}}
244244
{{< /tab >}}
245245
{{< 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" >}}
247247
{{< /tab >}}
248248
{{< tab header="Kotlin" >}}
249249
val driver = ChromeDriver()
@@ -271,7 +271,7 @@ From the above HTML snippet shared, lets identify the link, using its html tag "
271271
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L31" >}}
272272
{{< /tab >}}
273273
{{< 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" >}}
275275
{{< /tab >}}
276276
{{< tab header="Kotlin" >}}
277277
val driver = ChromeDriver()
@@ -305,7 +305,7 @@ first name text box. Let us create locator for female radio button using xpath.
305305
{{< gh-codeblock path="examples/ruby/spec/elements/locators_spec.rb#L35" >}}
306306
{{< /tab >}}
307307
{{< 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" >}}
309309
{{< /tab >}}
310310
{{< tab header="Kotlin" >}}
311311
import org.openqa.selenium.By

0 commit comments

Comments
 (0)