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

Function insecure_flag_warns_test

rust/tests/insecure_tests.rs:23–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22#[test]
23fn insecure_flag_warns_test() {
24 let mut cmd = get_selenium_manager();
25 cmd.args(["--browser", "chrome", "--insecure", "--offline"]);
26
27 let stdout = get_stdout(&mut cmd);
28
29 assert!(stdout.contains("TLS certificate validation is disabled"));
30}
31
32#[test]
33fn insecure_env_warns_test() {

Callers

nothing calls this directly

Calls 3

get_selenium_managerFunction · 0.85
get_stdoutFunction · 0.85
argsMethod · 0.80

Tested by

no test coverage detected