Open MatroidX opened 3 years ago
Will have a look
Thanks! Became a sponsor to help support your work. Much appreciated :)
Was given some advice on BoardGameGeek: https://boardgamegeek.com/thread/2751648/login-form-renamed. I still need to investigate.
OK, did some first analysis here and found two problem:
Note: This information is duplicated on https://stackoverflow.com/questions/69849910/navigating-to-javascript-form-using-htmlunit. Feel free to request any additional information there.
Overview
I have successfully been using HtmlUnit to navigate BoardGameGeek and execute tasks (e.g. send GeekMail). Recently they changed their login from a normal webpage to a javascript-generated form, and now I just can't seem to access the login form using HtmlUnit no matter what I try, including:
webClient.waitForBackgroundJavaScript(JAVASCRIPT_PAUSE)
orwebClient.waitForBackgroundJavaScriptStartingBefore(JAVASCRIPT_PAUSE)
.Of course I want a general understanding beyond this specific webpage / javascript code, but I give this specific concrete example since the other StackOverflow questions I looked at didn't help in this particular situation (so maybe there is something unique here?).
Steps to Reproduce
Existing code
Here is my current version of the code with multiple attempts made to diagnose the problem / extract some useful information:
References
In trying to solve this, I have checked the following references (among many others):
Nevertheless, I seem unable to locate the desired form. Any help would be much appreciated!