public function expandMore()
{
try {
$this->waitForElement('byCssSelector', 'li.submenu > a');
} catch (PHPUnit_Extensions_Selenium2TestCase_WebDriverException $e) {
return;
}
/* We need to resize to ensure it fits into accessible area */
$this->execute(array('script' => "\$('#topmenu').css('font-size', '50%');" . "\$(window).resize()", 'args' => array()));
$this->sleep();
}