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

Function wrong_protocol_proxy_test

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

Source from the content-addressed store, hash-verified

44
45#[test]
46fn wrong_protocol_proxy_test() {
47 let mut cmd = get_selenium_manager();
48 let result = cmd
49 .args([
50 "--browser",
51 if is_linux_arm64() {
52 "firefox"
53 } else {
54 "chrome"
55 },
56 "--proxy",
57 "wrong:://proxy",
58 ])
59 .assert()
60 .try_success();
61
62 assert_output(&mut cmd, result, vec!["There was an error"], DATAERR);
63}
64
65#[test]
66fn wrong_port_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