public function __construct(WebDriver $driver, Logger $logger) { parent::__construct($driver); $this->logger = $logger; }