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

Function wrong_proxy_test

rust/tests/proxy_tests.rs:25–43  ·  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 if is_linux_arm64() {
32 "firefox"
33 } else {
34 "chrome"
35 },
36 "--proxy",
37 "http://localhost:12345",
38 ])
39 .assert()
40 .try_success();
41
42 assert_output(&mut cmd, result, vec!["in PATH"], DATAERR);
43}
44
45#[test]
46fn wrong_protocol_proxy_test() {

Callers

nothing calls this directly

Calls 4

get_selenium_managerFunction · 0.85
is_linux_arm64Function · 0.85
assert_outputFunction · 0.85
argsMethod · 0.80

Tested by

no test coverage detected