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

Method new

rust/src/shell.rs:31–36  ·  view source on GitHub ↗
(program: impl Into<String>, args: Vec<String>)

Source from the content-addressed store, hash-verified

29
30impl Command {
31 pub fn new(program: impl Into<String>, args: Vec<String>) -> Self {
32 Command {
33 program: program.into(),
34 args,
35 }
36 }
37
38 pub fn display(&self) -> String {
39 std::iter::once(self.program.as_str())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected