Skip to content

Conversation

@dahaupt
Copy link
Contributor

@dahaupt dahaupt commented Dec 9, 2021

This changes the selector of fields used in submitForm() to get only
fields with a name attribute.

Fixes: #83

This changes the selector of fields used in `submitForm()` to get only
fields with a `name` attribute.

Fixes: #83
@dahaupt
Copy link
Contributor Author

dahaupt commented Dec 9, 2021

Instead of checking for the name attribute, I modified the selector to get only matching elements. But there may be a better (shorter) selector.

@Naktibalda
Copy link
Member

Thanks

@Naktibalda Naktibalda merged commit 930ebf7 into Codeception:master Dec 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

submitForm throws TypeError for input fields without name attribute

2 participants