I have a button in the page :
<div class="button wide green attached connectyourself" >Conect</div>
I want tu push on this div, so I create the methode :
/**
 * @When I open the connection popup
 */
public function iOpenTheConnectionPopup()
{
    $page = $this->getSession()->getPage();
    $findName = $page->find("css", '.connectyourself');
    if (!$findName) {
        throw new Exception('connectyourself' . " could not be found");
    } else {
        $findName->click();
    }
}
Every time I get the exception 'connectyourself could not be found'. Can you help me please ?
 
    