-
Notifications
You must be signed in to change notification settings - Fork 40
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
mechanize._mechanize.FormNotFoundError: no form matching name 'form' #28
Comments
On my research I'm not seeing that meachnize would be able to handle those async jquery requests in combination of re-rendering parts of the website. Let me know if I miss something here. Beside of that I re-wrote the part of the Handelsregister Python SDK to work with Selenium to overcome this issue. If wished I can open a PR. Best David |
Same issue over here! Can you share your selenium implementation @schenkd? |
Change the URL for the page call at def open_startpage(self):
self.browser.open("https://www.handelsregister.de/rp_web/erweitertesuche.xhtml", timeout=10) This is the direct page call for the advanced search. |
thank you @fibofant - wonder when this will be fixed? |
I submitted a pull request for this #30 |
Hey,
I've tried the example from the
README.md
and installed the app as described.Unfortunatley it fails because the HTML docs has no HTML-Form named
form
.What I discovered so far is that
follow_link
(on line 72) with "Advanced search" is responding with the main page and not with the "rendered" response of "Erweiterte Suche".Link-element with title "Advanced search" on main page, that is included in the response:
Could someone with more knowleadge of this lib check if this was working with the current website of Handelsregister or is there a major change that breaks the lib?
I'm glad to help solve this issue, but before I try to overcome the JQuery rendering with Selenium I'd like to know if mechanize was before able to handle this behaviour?
Greetings David
The text was updated successfully, but these errors were encountered: