Skip to content
New issue

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

If no formId, get cryptic Expected string or identifier, but \<delimiter "]" at 11> found." #31

Open
bitwombat opened this issue Feb 24, 2021 · 2 comments

Comments

@bitwombat
Copy link

getFormFromCrawler in InnerBrowser.php throws:

"[Symfony\Component\CssSelector\Exception\SyntaxErrorException] Expected string or identifier, but \<delimiter "]" at 11> found."

if the $formId is ""

@Naktibalda
Copy link
Member

Do you have a form without id and action attributes?

Please provide HTML and test code to reproduce this issue.

@bitwombat
Copy link
Author

Do you have a form without id and action attributes?

Yes, in error, but the message is unhelpful.

Please provide HTML and test code to reproduce this issue.

Totally reasonable, but you can see getFormFromCrawler relies on id being set.

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

No branches or pull requests

2 participants