mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-24 17:40:23 +00:00
Proxy the kill selenium task to the library
This commit is contained in:
parent
c477abd151
commit
22df3bff56
@ -493,7 +493,12 @@ class RoboFile extends Tasks
|
||||
public function killSelenium($host = 'localhost', $port = '4444')
|
||||
{
|
||||
$this->say('Trying to kill the selenium server.');
|
||||
$this->_exec("curl http://$host:$port/selenium-server/driver/?cmd=shutDownSeleniumServer");
|
||||
|
||||
$this->taskSeleniumStandaloneServer()
|
||||
->setUrl("http://$host:$port")
|
||||
->killSelenium()
|
||||
->run()
|
||||
->stopOnFail();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user