Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2c7aeb6
added command to run python script to follow first script example
sadik312 May 7, 2024
671371d
added execution commands for all languages to follow script example
sadik312 May 9, 2024
b7d976a
Merge branch 'trunk' into sadik-feature-branch
sadik312 May 9, 2024
f4fcf49
Merge branch 'trunk' into sadik-feature-branch
sadik312 Jul 5, 2024
10e2239
Merge branch 'trunk' into sadik-feature-branch
sadik312 Jul 9, 2024
98e26c1
added microsoft .NET cross-platform installation link
sadik312 Nov 8, 2024
ac1cf3d
Merge branch 'trunk' into sadik-feature-branch
sadik312 Nov 9, 2024
f16bf24
Merge branch 'trunk' into sadik-feature-branch
sadik312 Nov 12, 2024
a2865f9
Merge branch 'trunk' into sadik-feature-branch
sadik312 Nov 25, 2024
f1ef893
Merge branch 'trunk' into sadik-feature-branch
sadik312 Nov 28, 2024
6081a73
Merge branch 'trunk' into sadik-feature-branch
sadik312 Nov 30, 2024
8ec6d1f
Merge branch 'trunk' into sadik-feature-branch
sadik312 Dec 9, 2024
4bf0f96
Merge branch 'trunk' into sadik-feature-branch
sadik312 Dec 17, 2024
38aa219
Merge branch 'trunk' into sadik-feature-branch
sadik312 Dec 18, 2024
ec26159
Merge branch 'trunk' into sadik-feature-branch
sadik312 Dec 22, 2024
cade154
Merge branch 'trunk' into sadik-feature-branch
sadik312 Jan 1, 2025
8fdaa02
Merge branch 'trunk' into sadik-feature-branch
sadik312 Mar 3, 2025
e9a52e3
Merge branch 'trunk' into sadik-feature-branch
sadik312 Apr 20, 2025
3752d28
Resolve conflicts with trunk
diemol Jul 22, 2026
4f9584e
Merge branch 'trunk' into sadik-feature-branch
diemol Jul 22, 2026
576ccaf
Fix inaccurate content from Qodo review and wire up docs
diemol Jul 22, 2026
1093d6b
Address remaining Qodo findings
diemol Jul 22, 2026
1bdf865
Fix Kotlin README heading hierarchy per Qodo review
diemol Jul 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion examples/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ from the `SeleniumHQ/seleniumhq.github.io` repository.

Ensure you have the following installed:

- [.NET SDK (8.0 or later)](https://dotnet.microsoft.com/en-us/download)
- [.NET SDK (8.0 or later)](https://dotnet.microsoft.com/en-us/download) to run the test suite;
10.0 or later if you want to run `HelloSelenium.cs` directly (see
[Execute a single script](#execute-a-single-script))
- An IDE like [Visual Studio](https://visualstudio.microsoft.com/) or [Visual Studio Code](https://code.visualstudio.com/)
- [.NET CLI tools](https://learn.microsoft.com/en-us/dotnet/core/tools/)

Expand All @@ -22,6 +24,17 @@ Clone the Selenium documentation repository to your local machine:
git clone https://github.com/SeleniumHQ/seleniumhq.github.io.git
```

## Execute a single script

`HelloSelenium.cs` is a standalone script (not part of the `SeleniumDocs` test
project) that follows the first script example. Requires the .NET 10 SDK or
later for [file-based apps](https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-10/overview#file-based-apps).

```bash
cd seleniumhq.github.io/examples/dotnet
dotnet run HelloSelenium.cs
```

## Navigate to the .NET directory
### Change into the .NET examples directory:

Expand Down
36 changes: 36 additions & 0 deletions examples/kotlin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Running all tests from Selenium kotlin example

Follow these steps to run all test examples from selenium kotlin

1. Clone this repository

```
git clone https://github.com/SeleniumHQ/seleniumhq.github.io.git
```

2. Navigate to `kotlin` directory

```
cd seleniumhq.github.io/examples/kotlin
```

3. Install dependencies (using maven)

```
mvn clean install
```

4. Run all tests

```
mvn test
```
> or to run all tests in a specific class you can run `mvn -Dtest=classname test`

## Run a single Kotlin example

Run only the first script example test:

```
mvn -Dtest=dev.selenium.getting_started.FirstScriptTest test
```
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
{{< gh-codeblock path="/examples/python/README.md#L58" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="/examples/dotnet/README.md#L55" >}}
{{< gh-codeblock path="/examples/dotnet/README.md#L34-L35" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< gh-codeblock path="/examples/ruby/README.md#L36" >}}
Expand All @@ -245,7 +245,7 @@ See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}).
{{< gh-codeblock path="/examples/javascript/README.md#L36" >}}
{{< /tab >}}
{{< tab header="Kotlin" >}}
{{< badge-code >}}
{{< gh-codeblock path="/examples/kotlin/README.md#L35" >}}
{{< /tab >}}
{{< /tabpane >}}

Expand Down
Loading