public function __construct($url) { parent::__construct($url); }
/** * Get an element onthe currently loaded page by its class. * @param string $className The name of the class to look for. * @return PHPWebDriver_WebDriverElement|null The element if it can be found, null otherwise. */ public function getElementByClassName($className) { return $this->__session->element(PHPWebDriver_WebDriverBy::CLASS_NAME, $className); }