Hello Sebastian,

Thanks for getting back.  Here is the Login.html link which is throwing no
form exists error.


Please take a look and suggest what could be wrong when trying to sign in
to this site.

Also below content of auth-configuration section of httpclient-auth.xml

 <credentials authMethod="formAuth"
       <field name="name"
       <field name="pass"
       <field name="User-Agent"
              value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36"
       <field name="ctl00$MainContent$LoginUser$RememberMe"/>

On Wed, Jul 3, 2019 at 10:22 AM Sebastian Nagel
<wastl.na...@googlemail.com.invalid> wrote:

> Hi,
> the error message is quite clear:
> > 2019-07-02 10:36:59,202 DEBUG httpclient.HttpFormAuthentication - No form
> > element found with 'id' = user-login-form, trying 'name'.
> > 2019-07-02 10:36:59,205 DEBUG httpclient.HttpFormAuthentication - No form
> > element found with 'name' = user-login-form
> But without access to the login page content, it's nearly impossible to
> determine
> what's going wrong.
> > I tried crawling the same url/login page using Selenium Chrome Drive and
> it
> > does load and fill in the user id/pwd text boxes.
> Sounds like the page HTML source looks different with Selenium. Note that
> the
> protocol-httpclient does not modify the DOM tree via Javascript, it is
> derived
> from the bare HTML only.  That could be a reason why the form element is
> not found
> while it works in a browser (emulation).
> Best,
> Sebastian

Reply via email to