I use mink with symfony 4.4, debian, selenium and chromedriver.
The problem is when i use step "I fill in with" I have always exception ElementNotFoundException with all host.
Form field with id|name|label|value|placeholder "searchform-search" not found. (Behat\Mink\Exception\ElementNotFoundException
Example:
` Feature: TestBehat
@javascript @api
Scenario: Search
Given I am on "https://hotexamples.com"
And I wait 20 seconds
When I fill in "searchform-search" with "behat"`
output console:
`vendor/bin/behat
Feature: TestBehat
@javascript @api
Scenario: Search # tests/behat/authentication.feature:4
Given I am on "https://hotexamples.com" # Context\FeatureContext::visit()
And I wait 20 seconds # Context\FeatureContext::iWaitSeconds()
When I fill in "searchform-search" with "behat" # Context\FeatureContext::fillField()
Form field with id|name|label|value|placeholder "searchform-search" not found. (Behat\Mink\Exception\ElementNotFoundException)
--- Scénarios échoués:
tests/behat/authentication.feature:4
1 scénario (1 échecs)
3 étapes (2 succès, 1 éch`
If you test go to hotExample website you have field search with id searchform-search but same i try with other host and not id but name i have the same exception, mink don't find it :(.
Can you help me please?
Edit:
Problem solved, i has add option configuration for chrome in behat file
`
Hello and thanks for this project,
I use mink with symfony 4.4, debian, selenium and chromedriver.
The problem is when i use step "I fill in with" I have always exception ElementNotFoundException with all host.
Form field with id|name|label|value|placeholder "searchform-search" not found. (Behat\Mink\Exception\ElementNotFoundException
Example:output console:
If you test go to hotExample website you have field search with id searchform-search but same i try with other host and not id but name i have the same exception, mink don't find it :(.
Can you help me please?
Edit:
Problem solved, i has add option configuration for chrome in behat file `
default: