Skip to content

Commit

Permalink
Javascript single test file execution (#1663)[deploy site]
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Sakif-Al-Faruque and harsha509 committed Apr 8, 2024
1 parent 12524f1 commit c2299d8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
10 changes: 9 additions & 1 deletion examples/javascript/README.md
Expand Up @@ -26,4 +26,12 @@ npm install
npm test
```

> 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
> 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
# Execute a javascript test

Use this command to run a JavaScript and follow the first script example

```
node example_script.spec.js
```
Expand Up @@ -242,7 +242,7 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-code >}}
{{< gh-codeblock path="examples/javascript/README.md#L36" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
{{< badge-code >}}
Expand Down
Expand Up @@ -245,7 +245,7 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-code >}}
{{< gh-codeblock path="examples/javascript/README.md#L36" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
{{< badge-code >}}
Expand Down
Expand Up @@ -244,7 +244,7 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-code >}}
{{< gh-codeblock path="examples/javascript/README.md#L36" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
{{< badge-code >}}
Expand Down
Expand Up @@ -257,7 +257,7 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
{{< gh-codeblock path="examples/ruby/README.md#L36" >}}
{{< /tab >}}
{{< tab header="JavaScript" >}}
{{< badge-code >}}
{{< gh-codeblock path="examples/javascript/README.md#L36" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
{{< badge-code >}}
Expand Down

0 comments on commit c2299d8

Please sign in to comment.