These are chat archives for Behat/Behat

13th
Dec 2017
Waiting on Smash
@LenouNiaha_twitter
Dec 13 2017 14:07

Hello :). I'm discovering Behat and I seem to have an issue with Google. I'm following Grafikart's tutorial ( h ttps://www.youtube.com/watch?v=SiB8OlaptGU ) and to explain how to use the tag @javascript , he does something like this
"Scenario: Search
Given I am on the homepage
When I fill in "lst-ib" with "Grafikart"
And I wait for 1 seconds
Then I should see "Grafikart.fr" "

The fill in's field here is my Google's id but no page is opened when I trigger it. Any idea why? I have this error :
When I fill in "lst-ib" with "Grafikart" # WebContext::fillField()
Form field with id|name|label|value|placeholder "lst-ib" not found. (Behat\Mink\Exception\ElementNotFoundException)