Skip to content

Commit

Permalink
Bug fixed [#13](#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Modelizer committed Sep 19, 2016
1 parent 629b3e1 commit 845234c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/InteractWithPage.php
Original file line number Diff line number Diff line change
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 845234c

Please sign in to comment.