File tree Expand file tree Collapse file tree 6 files changed +16
-9
lines changed Expand file tree Collapse file tree 6 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public async Task PerformanceMetrics()
111
111
var session = ( ( IDevTools ) driver ) . GetDevToolsSession ( ) ;
112
112
var domains = session . GetVersionSpecificDomains < OpenQA . Selenium . DevTools . V130 . DevToolsSessionDomains > ( ) ;
113
113
114
- await domains . Performance . Enable ( new OpenQA . Selenium . DevTools . V13 . Performance . EnableCommandSettings ( ) ) ;
114
+ await domains . Performance . Enable ( new OpenQA . Selenium . DevTools . V130 . Performance . EnableCommandSettings ( ) ) ;
115
115
var metricsResponse =
116
116
await session . SendCommand < GetMetricsCommandSettings , GetMetricsCommandResponse > (
117
117
new GetMetricsCommandSettings ( )
Original file line number Diff line number Diff line change 10
10
<PackageReference Include =" Microsoft.IdentityModel.Tokens" Version =" 7.7.1" />
11
11
<PackageReference Include =" MSTest.TestAdapter" Version =" 3.6.0" />
12
12
<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 " />
15
15
</ItemGroup >
16
16
17
17
<ItemGroup >
Original file line number Diff line number Diff line change 32
32
## Execute a specific example
33
33
To run a specific Selenium Python example, use the following command:
34
34
``` bash
35
- python first_script .py
35
+ pytest path/to/test_script .py
36
36
```
37
37
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.
Original file line number Diff line number Diff line change 9
9
10
10
11
11
@pytest .mark .skipif (sys .platform == "win32" , reason = "Gets stuck on Windows, passes locally" )
12
- @pytest .mark .sanity
13
12
def test_start_remote_with_client_config (grid_server ):
14
13
proxy = Proxy ({"proxyType" : ProxyType .AUTODETECT })
15
14
retries = Retry (connect = 2 , read = 2 , redirect = 2 )
16
15
timeout = Timeout (connect = 300 , read = 3600 )
17
16
client_config = ClientConfig (remote_server_addr = grid_server ,
18
17
proxy = proxy ,
19
- init_args_for_pool_manager = {"retries" : retries , "timeout" : timeout },
18
+ init_args_for_pool_manager = {
19
+ "init_args_for_pool_manager" : {"retries" : retries , "timeout" : timeout }},
20
20
ca_certs = _get_resource_path ("tls.crt" ),
21
21
username = "admin" , password = "myStrongPassword" )
22
22
options = webdriver .ChromeOptions ()
@@ -26,7 +26,6 @@ def test_start_remote_with_client_config(grid_server):
26
26
27
27
28
28
@pytest .mark .skipif (sys .platform == "win32" , reason = "Gets stuck on Windows, passes locally" )
29
- @pytest .mark .sanity
30
29
def test_start_remote_ignore_certs (grid_server ):
31
30
proxy = Proxy ({"proxyType" : ProxyType .AUTODETECT })
32
31
client_config = ClientConfig (remote_server_addr = grid_server ,
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ enable = false
234
234
desc = " Development takes place here!"
235
235
[[params .links .developer ]]
236
236
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 "
238
238
icon = " fab fa-slack"
239
239
desc = " Chat with other project developers and users in Slack"
240
240
[[params .links .developer ]]
Original file line number Diff line number Diff line change 31
31
To use the Selenium Server in a Grid configuration see the
32
32
< a href ="https://selenium.dev/documentation/en/grid/ "> documentation</ a > .
33
33
</ p >
34
+ < p class ="card-text ">
35
+ To run the Grid with popular browsers using Docker see the
36
+ < a href ="https://github.com/SeleniumHQ/docker-selenium "> repository</ a > .
37
+ </ p >
38
+ < p class ="card-text ">
39
+ To deploy the Grid to Kubernetes cluster see the Helm chart
40
+ < a href ="https://github.com/SeleniumHQ/docker-selenium/blob/trunk/charts/selenium-grid/README.md "> configuration</ a > .
41
+ </ p >
34
42
</ div >
35
43
</ div >
36
44
</ div >
You can’t perform that action at this time.
0 commit comments