@@ 42-51 (lines=10) @@ | ||
39 | } |
|
40 | ||
41 | $url = $input->getOption('url'); |
|
42 | if ($url) { |
|
43 | $arguments = [ |
|
44 | 'command' => $command->getName(), |
|
45 | 'class' => 'Magium\\TestCaseConfiguration', |
|
46 | 'property' => 'webDriverRemote', |
|
47 | 'value' => $url |
|
48 | ]; |
|
49 | $webDriverInput = new ArrayInput($arguments); |
|
50 | $command->run($webDriverInput, $output); |
|
51 | } |
|
52 | ||
53 | $capability = $input->getOption('capability'); |
|
54 | if ($capability) { |
|
@@ 54-63 (lines=10) @@ | ||
51 | } |
|
52 | ||
53 | $capability = $input->getOption('capability'); |
|
54 | if ($capability) { |
|
55 | $arguments = [ |
|
56 | 'command' => $command->getName(), |
|
57 | 'class' => 'Magium\\TestCaseConfiguration', |
|
58 | 'property' => 'capabilities', |
|
59 | 'value' => $capability |
|
60 | ]; |
|
61 | $webDriverInput = new ArrayInput($arguments); |
|
62 | $command->run($webDriverInput, $output); |
|
63 | } |
|
64 | } |
|
65 | ||
66 | } |