function __construct() { self::$string_timeout = $GLOBALS['timeouts']["str_ms"]; self::$selenium = \SaunterPHP_Framework_SeleniumConnection::RemoteControl(); }
function __construct($driver) { self::$string_timeout = $GLOBALS['timeouts']["str_ms"]; self::$selenium = $driver; $this->driver = $driver; }