MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / wrong_proxy_test

Function wrong_proxy_test

rust/tests/proxy_tests.rs:25–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24#[tokio::test]
25async fn wrong_proxy_test() {
26 let mut cmd = get_selenium_manager();
27 let result = cmd
28 .args([
29 "--debug",
30 "--browser",
31 "chrome",
32 "--proxy",
33 "http://localhost:12345",
34 ])
35 .assert()
36 .try_success();
37
38 assert_output(&mut cmd, result, vec!["in PATH"], DATAERR);
39}
40#[test]
41fn wrong_protocol_proxy_test() {
42 let mut cmd = get_selenium_manager();

Callers

nothing calls this directly

Calls 3

get_selenium_managerFunction · 0.85
assert_outputFunction · 0.85
argsMethod · 0.80

Tested by

no test coverage detected