public function testShouldNotLogCommandsInNormalMode() { $this->setDebugMode(false); // Make debug mode disabled $this->driver->findElement(\WebDriverBy::className('foo')); $this->driver->getTitle(); $this->expectOutputString(''); }