I opened a page and am following a couple of links with the click() method.
$this->selenium->open("test.html");
$this->selenium->click("link=testlink1");
$this->selenium->waitForPageToLoad("10000");
$this->selenium->click("link=testlink2");
$this->selenium->getHtmlSource();
Now I want to get the HTML source of the current page that I am on, but getHtmlSource seems to only get the source of the initial page from the open() call.
How do I get the HTML source of the page from 'testlink2'? The last link I followed and the current page I'm on.