I am newbie to selenium.I want to reload the same url page after 2 minutes. i have tried following code but its not working:-
for($i = 0; $i < 7; $i++)
{
$this->webDriver->get($this->url);
$this->webDriver->findElement(WebDriverBy::xpath('/html /body/div[1]/div/div[4]/button/svg/path[1]'))->click();
// $this->webDriver->quit();
// echo $this->webDriver->getTitle() . "\n";
//$this->webDriver->navigate()->back();
}