Skip to content

Commit 5b5bcf0

Browse files
committed
Merge branch 'screenshot-example' of https://github.com/navin772/seleniumhq.github.io into screenshot-example
2 parents e79ff77 + 532cce0 commit 5b5bcf0

File tree

9 files changed

+55
-6
lines changed

9 files changed

+55
-6
lines changed

examples/dotnet/SeleniumDocs/BiDi/CDP/NetworkTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public async Task PerformanceMetrics()
111111
var session = ((IDevTools)driver).GetDevToolsSession();
112112
var domains = session.GetVersionSpecificDomains<OpenQA.Selenium.DevTools.V130.DevToolsSessionDomains>();
113113

114-
await domains.Performance.Enable(new OpenQA.Selenium.DevTools.V13.Performance.EnableCommandSettings());
114+
await domains.Performance.Enable(new OpenQA.Selenium.DevTools.V130.Performance.EnableCommandSettings());
115115
var metricsResponse =
116116
await session.SendCommand<GetMetricsCommandSettings, GetMetricsCommandResponse>(
117117
new GetMetricsCommandSettings()

examples/dotnet/SeleniumDocs/SeleniumDocs.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="7.7.1" />
1111
<PackageReference Include="MSTest.TestAdapter" Version="3.6.0" />
1212
<PackageReference Include="MSTest.TestFramework" Version="3.6.0" />
13-
<PackageReference Include="Selenium.Support" Version="4.25.0" />
14-
<PackageReference Include="Selenium.WebDriver" Version="4.25.0" />
13+
<PackageReference Include="Selenium.Support" Version="4.26.1" />
14+
<PackageReference Include="Selenium.WebDriver" Version="4.26.1" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

examples/python/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pytest
3232
## Execute a specific example
3333
To run a specific Selenium Python example, use the following command:
3434
```bash
35-
python first_script.py
35+
pytest path/to/test_script.py
3636
```
3737

38-
Make sure to replace `first_script.py` with the path and name of the example you want to run.
38+
Make sure to replace `path/to/test_script.py` with the path and name of the example you want to run.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
browser = "chrome" # --browser BROWSER
2+
driver = "chromedriver" # --driver DRIVER
3+
browser-version = "106" # --browser-version BROWSER_VERSION
4+
driver-version = "106.0.5249.61" # --driver-version DRIVER_VERSION
5+
browser-path = "/usr/bin/google-chrome" # --browser-path BROWSER_PATH
6+
driver-mirror-url = "https://custom-driver-mirror.com" # --driver-mirror-url DRIVER_MIRROR_URL
7+
browser-mirror-url = "https://custom-browser-mirror.com" # --browser-mirror-url BROWSER_MIRROR_URL
8+
output = "LOGGER" # --output OUTPUT
9+
os = "linux" # --os OS
10+
arch = "x64" # --arch ARCH
11+
proxy = "myproxy:8080" # --proxy PROXY
12+
timeout = 300 # --timeout TIMEOUT
13+
offline = true # --offline
14+
force-browser-download = true # --force-browser-download
15+
avoid-browser-download = false # --avoid-browser-download
16+
debug = true # --debug
17+
trace = true # --trace
18+
cache-path = "/custom/cache/path" # --cache-path CACHE_PATH
19+
ttl = 3600 # --ttl TTL
20+
language-binding = "Python" # --language-binding LANGUAGE
21+
avoid-stats = true # --avoid-stats

website_and_docs/content/documentation/selenium_manager.en.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ In addition to the configuration keys specified in the table before, there are s
141141
- Driver mirror. Following the same pattern, we can use `chromedriver-mirror-url`, `geckodriver-mirror-url`, `msedgedriver-mirror-url`, etc. (in the configuration file), and `SE_CHROMEDRIVER_MIRROR_URL`, `SE_GECKODRIVER_MIRROR_URL`, `SE_MSEDGEDRIVER_MIRROR_URL`, etc. (as environment variables).
142142
- Browser mirror. Following the same pattern, we can use `chrome-mirror-url`, `firefox-mirror-url`, `edge-mirror-url`, etc. (in the configuration file), and `SE_CHROME_MIRROR_URL`, `SE_FIREFOX_MIRROR_URL`, `SE_EDGE_MIRROR_URL`, etc. (as environment variables).
143143

144+
### se-config.toml Example
145+
{{< tabpane text=true >}}
146+
{{< tab header="se-config.toml" >}}
147+
{{< gh-codeblock path="examples/python/tests/selenium_manager/example_se-config.toml#L1-L21" >}}
148+
{{< /tab >}}
149+
{{< /tabpane >}}
150+
144151
## Caching
145152
***TL;DR:*** *The drivers and browsers managed by Selenium Manager are stored in a local folder (`~/.cache/selenium`).*
146153

website_and_docs/content/documentation/selenium_manager.ja.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ In addition to the configuration keys specified in the table before, there are s
141141
- Driver mirror. Following the same pattern, we can use `chromedriver-mirror-url`, `geckodriver-mirror-url`, `msedgedriver-mirror-url`, etc. (in the configuration file), and `SE_CHROMEDRIVER_MIRROR_URL`, `SE_GECKODRIVER_MIRROR_URL`, `SE_MSEDGEDRIVER_MIRROR_URL`, etc. (as environment variables).
142142
- Browser mirror. Following the same pattern, we can use `chrome-mirror-url`, `firefox-mirror-url`, `edge-mirror-url`, etc. (in the configuration file), and `SE_CHROME_MIRROR_URL`, `SE_FIREFOX_MIRROR_URL`, `SE_EDGE_MIRROR_URL`, etc. (as environment variables).
143143

144+
### se-config.toml Example
145+
{{< tabpane text=true >}}
146+
{{< tab header="se-config.toml" >}}
147+
{{< gh-codeblock path="examples/python/tests/selenium_manager/example_se-config.toml#L1-L21" >}}
148+
{{< /tab >}}
149+
{{< /tabpane >}}
150+
144151
## Caching
145152
***TL;DR:*** *The drivers and browsers managed by Selenium Manager are stored in a local folder (`~/.cache/selenium`).*
146153

website_and_docs/content/documentation/selenium_manager.pt-br.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ In addition to the configuration keys specified in the table before, there are s
141141
- Driver mirror. Following the same pattern, we can use `chromedriver-mirror-url`, `geckodriver-mirror-url`, `msedgedriver-mirror-url`, etc. (in the configuration file), and `SE_CHROMEDRIVER_MIRROR_URL`, `SE_GECKODRIVER_MIRROR_URL`, `SE_MSEDGEDRIVER_MIRROR_URL`, etc. (as environment variables).
142142
- Browser mirror. Following the same pattern, we can use `chrome-mirror-url`, `firefox-mirror-url`, `edge-mirror-url`, etc. (in the configuration file), and `SE_CHROME_MIRROR_URL`, `SE_FIREFOX_MIRROR_URL`, `SE_EDGE_MIRROR_URL`, etc. (as environment variables).
143143

144+
### se-config.toml Example
145+
{{< tabpane text=true >}}
146+
{{< tab header="se-config.toml" >}}
147+
{{< gh-codeblock path="examples/python/tests/selenium_manager/example_se-config.toml#L1-L21" >}}
148+
{{< /tab >}}
149+
{{< /tabpane >}}
150+
144151
## Caching
145152
***TL;DR:*** *The drivers and browsers managed by Selenium Manager are stored in a local folder (`~/.cache/selenium`).*
146153

website_and_docs/content/documentation/selenium_manager.zh-cn.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ In addition to the configuration keys specified in the table before, there are s
141141
- Driver mirror. Following the same pattern, we can use `chromedriver-mirror-url`, `geckodriver-mirror-url`, `msedgedriver-mirror-url`, etc. (in the configuration file), and `SE_CHROMEDRIVER_MIRROR_URL`, `SE_GECKODRIVER_MIRROR_URL`, `SE_MSEDGEDRIVER_MIRROR_URL`, etc. (as environment variables).
142142
- Browser mirror. Following the same pattern, we can use `chrome-mirror-url`, `firefox-mirror-url`, `edge-mirror-url`, etc. (in the configuration file), and `SE_CHROME_MIRROR_URL`, `SE_FIREFOX_MIRROR_URL`, `SE_EDGE_MIRROR_URL`, etc. (as environment variables).
143143

144+
### se-config.toml Example
145+
{{< tabpane text=true >}}
146+
{{< tab header="se-config.toml" >}}
147+
{{< gh-codeblock path="examples/python/tests/selenium_manager/example_se-config.toml#L1-L21" >}}
148+
{{< /tab >}}
149+
{{< /tabpane >}}
150+
144151
## Caching
145152
***TL;DR:*** *The drivers and browsers managed by Selenium Manager are stored in a local folder (`~/.cache/selenium`).*
146153

website_and_docs/hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ enable = false
234234
desc = "Development takes place here!"
235235
[[params.links.developer]]
236236
name = "Slack"
237-
url = "https://join.slack.com/t/seleniumhq/shared_invite/zt-2o0ilal4i-WzCcTdrlpmmsuE2TDILmgg"
237+
url = "https://join.slack.com/t/seleniumhq/shared_invite/zt-2stlcmc6b-Hww~3r3yAzquhSq4riOFxA"
238238
icon = "fab fa-slack"
239239
desc = "Chat with other project developers and users in Slack"
240240
[[params.links.developer]]

0 commit comments

Comments
 (0)