We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
form
Hello,
Just noticed that performing a click on a button linked to a specific form (with the form attribute) does not seem to be supported right now.
In addition, the formaction attribute is also ignored, though I don't think it's widely used so not really a priority.
Running this will submit on /another-action instead of /action
/another-action
/action
<form id="my-form" action="/action"></form> <form action="/another-action"> <button type="submit" form="my-form">Click me</button> </form>
$this->browser() // ... ->click('Click me') ;
I'd be happy to help, though I don't know where would the fix be done :
\Zenstruck\Browser\Session\KernelSession::formFor
\Zenstruck\Dom\Node\Form\Element::form
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Hello,
Just noticed that performing a click on a button linked to a specific form (with the
form
attribute) does not seem to be supported right now.In addition, the formaction attribute is also ignored, though I don't think it's widely used so not really a priority.
Reproducer
Running this will submit on
/another-action
instead of/action
Suggestion
I'd be happy to help, though I don't know where would the fix be done :
\Zenstruck\Browser\Session\KernelSession::formFor
?\Zenstruck\Dom\Node\Form\Element::form
?The text was updated successfully, but these errors were encountered: