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

Function insecure_env_warns_test

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

Source from the content-addressed store, hash-verified

31
32#[test]
33fn insecure_env_warns_test() {
34 let mut cmd = get_selenium_manager();
35 cmd.env("SE_INSECURE", "true")
36 .args(["--browser", "chrome", "--offline"]);
37
38 let stdout = get_stdout(&mut cmd);
39
40 assert!(stdout.contains("TLS certificate validation is disabled"));
41}

Callers

nothing calls this directly

Calls 4

get_selenium_managerFunction · 0.85
get_stdoutFunction · 0.85
argsMethod · 0.80
envMethod · 0.45

Tested by

no test coverage detected