Пример #1
0
 protected function setUp()
 {
     global $configuration;
     $this->setBrowserUrl($configuration['googleFormUrl']);
     $this->configuration = $configuration;
     // workaround to be able to see the prompt text
     ob_end_flush();
     $this->password = Cli::readInput('Please type your password to the e-mail ' . $this->configuration['email'] . ': ', [], '', true);
     Cli::writeOutput(String::newLine());
     // return to the original state
     ob_start();
 }