php - Selecting a LinkText+Icon with phpunit selenium webdriver -
so have is:
$search9 = $this->webdriver->findelement(webdriverby::linktext('functies')); $search9->click(); 
there's icon linked after text. ( arrow has class not sure if needed: )
class="icon-fixed-width icon-reply" problem: won't click on ' functies ' beside icon next it. how fix click on it?
edit:
using:
$search9 = $this->webdriver->findelement(webdriverby::classname('first_parent')); $search9->click(); this hover on ' functies ' not click ;/
this fixed ><
$search9 = $this->webdriver->findelement(webdriverby::classname('icon-fixed-width')); $search9->click(); going icon , not text worked.
small workaround yea works :d
Comments
Post a Comment