Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c2299d8

Browse files
Sakif-Al-Faruqueharsha509
andauthored
Javascript single test file execution (#1663)[deploy site]
* Javascript single test file execution In selenium documentation, javascript test file execution was missing. Therefore, I added that the command to run a test file for javascript in "Running Selenium File > JavaScript" section. * Small correction in examples>javascript>test>README.md * package-lock.json file has been excluded * similar changes are added to other translated files --------- Co-authored-by: Sri Harsha <12621691+harsha509@users.noreply.github.com>
1 parent 12524f1 commit c2299d8

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

‎examples/javascript/README.md‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,12 @@ npm install
2626
npm test
2727
```
2828

29-
> Please keep some patience - If you are doing it for the first time, it will take a little while to verify and download the browser drivers
29+
> Please keep some patience - If you are doing it for the first time, it will take a little while to verify and download the browser drivers
30+
31+
# Execute a javascript test
32+
33+
Use this command to run a JavaScript and follow the first script example
34+
35+
```
36+
node example_script.spec.js
37+
```

‎website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
242242
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
243243
{{< /tab >}}
244244
{{< tab header="JavaScript" >}}
245-
{{< badge-code >}}
245+
{{< gh-codeblock path="examples/javascript/README.md#L36" >}}
246246
{{< /tab >}}
247247
{{< tab header="Kotlin" >}}
248248
{{< badge-code >}}

‎website_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
245245
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
246246
{{< /tab >}}
247247
{{< tab header="JavaScript" >}}
248-
{{< badge-code >}}
248+
{{< gh-codeblock path="examples/javascript/README.md#L36" >}}
249249
{{< /tab >}}
250250
{{< tab header="Kotlin" >}}
251251
{{< badge-code >}}

‎website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
244244
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
245245
{{< /tab >}}
246246
{{< tab header="JavaScript" >}}
247-
{{< badge-code >}}
247+
{{< gh-codeblock path="examples/javascript/README.md#L36" >}}
248248
{{< /tab >}}
249249
{{< tab header="Kotlin" >}}
250250
{{< badge-code >}}

‎website_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
257257
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
258258
{{< /tab >}}
259259
{{< tab header="JavaScript" >}}
260-
{{< badge-code >}}
260+
{{< gh-codeblock path="examples/javascript/README.md#L36" >}}
261261
{{< /tab >}}
262262
{{< tab header="Kotlin" >}}
263263
{{< badge-code >}}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /