()
| 44 | |
| 45 | #[test] |
| 46 | fn 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] |
| 66 | fn wrong_port_proxy_test() { |
nothing calls this directly
no test coverage detected