isStarted = true; } public function stop() { parent::stop(); $this->isStarted = false; } public function login() { global $wgSeleniumTestsWikiUser, $wgSeleniumTestsWikiPassword, $wgSeleniumTestsWikiUrl; $this->open($wgSeleniumTestsWikiUrl.'/index.php?title=Special:Userlogin'); $this->type("wpName1", $wgSeleniumTestsWikiUser); $this->type("wpPassword1", $wgSeleniumTestsWikiPassword); $this->click("//input[@id='wpLoginAttempt']"); $value = $this->doCommand('assertTitle', array('Anmeldung erfolgreich*')); } public function loadPage($title, $action) { global $wgSeleniumTestsWikiUrl; $this->open($wgSeleniumTestsWikiUrl.'/index.php?title='.$title.'&action='.$action); } // Prevent external cloning protected function __clone() {} // Prevent external construction //protected function __construct() {} }