php - Selecting a LinkText+Icon with phpunit selenium webdriver -


so have is:

$search9 = $this->webdriver->findelement(webdriverby::linktext('functies')); $search9->click(); 

enter image description here

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

Popular posts from this blog

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -