Skip to content

Commit

Permalink
Bug fixed #13
Browse files Browse the repository at this point in the history
  • Loading branch information
Modelizer committed Sep 19, 2016
1 parent 629b3e1 commit 16da535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/InteractWithPage.php
Expand Up @@ -131,7 +131,7 @@ protected function submitForm($inputs, $selector)
*/
protected function press($text)
{
$this->findElement($text, "//button[contains(text(), '{$text}')]")->click();
$this->findElement($text, "//button[contains(., '{$text}')]")->click();

return $this;
}
Expand Down

0 comments on commit 16da535

Please sign in to comment.