TroubledByBehat
TroubledByBehat

Reputation: 1

Behat scripts unable to find element

I am very new to behat, I have setup my machine but when I try to perform a simple option of clicking a title on the page or filling a text box the scripts says

Form field with id|name|label|value "title" not found. (Behat\Mink\Exception\ElementNotFoundException).

Even when I am trying to verify text on the page it still gives the same error. I am using mink framework.

BDD file

Code it is pointing to

behat file

Page DOM

Please help as I am really stuck.

Upvotes: 0

Views: 793

Answers (1)

TroubledByBehat
TroubledByBehat

Reputation: 1

I downgraded my selenium server from 3.14 to 2.5 and it resolved the issue. With 3.14 when I check the browser was fired but the page was not returning 200.

Upvotes: 0

Related Questions