You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When getFormField() tries to find form button with findFormButton() it throws ElementNotFoundException. This happens when the button have type attribute setted as "Submit" instead of "submit".
I understand that it is a stupid thing set element attributes like that example, but I gues I should report this anyway...
When I added "Submit" at the in_array() function, showed above, to test, it worked. Maybe we can add a strtolower() in $node->getAttribute('type') to solve this.
The text was updated successfully, but these errors were encountered:
Can you please send a PR, where all usages of type attribute in the driver would be lowercased before doing any comparisons?
And another PR should go to Mink repository to update test fixtures to have type attributes with different case to catch that problem in all drivers at once.
When getFormField() tries to find form button with findFormButton() it throws ElementNotFoundException. This happens when the button have type attribute setted as "Submit" instead of "submit".
I understand that it is a stupid thing set element attributes like that example, but I gues I should report this anyway...
When I added "Submit" at the in_array() function, showed above, to test, it worked. Maybe we can add a strtolower() in $node->getAttribute('type') to solve this.
The text was updated successfully, but these errors were encountered: