Пример #1
0
 public function testShouldWriteLoadedUrlToLogEvenWithDisabledDebugMode()
 {
     $this->setDebugMode(false);
     // Make debug mode disabled
     $this->driver->get('http://foo.bar');
     $this->expectOutputRegex('/.*\\[WebDriver\\] Loading URL "http:\\/\\/foo.bar"/');
 }
Пример #2
0
 public function get($url)
 {
     $this->log('Loading URL "%s"', $url);
     return parent::get($url);
 }