function __construct($driver) { $this->driver = $driver; if ($this->module_name) { $this->driver->url("fresh_install/"); } }
function __construct($driver) { $this->driver = $driver; if ($this->module_name) { $this->driver->url("/?login=selenium:test"); $this->driver->url("/index.php?m={$this->module_name}" . ($this->tab_name ? "&tab={$this->tab_name}" : "")); } }
/** * Login page constructor * * @param SeleniumTestCase $driver Instance of a WebDriver */ function __construct($driver) { $this->driver = $driver; $this->driver->url("/"); }