| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 35 | { |
||
| 36 | $port = $input->getArgument('port'); |
||
| 37 | if (! $port) { |
||
| 38 | $port = 4444; |
||
| 39 | } |
||
| 40 | |||
| 41 | $update = $this->getApplication()->find('update'); |
||
| 42 | $update->run(new ArrayInput(['command' => 'update']), $output); |
||
| 43 | |||
| 44 | $output->writeln('<info>Starting Selenium Server...</info>'); |
||
| 45 | $this->manager->startInForeground($port); |
||
| 46 | return 0; |
||
| 47 | } |
||
| 48 | } |
||
| 49 |