I am working with Htmlunit for auto-fill-out-form. There is a submit butoon with the following code:
<input type="submit" class="button" value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" />
unfortunately when I try to detect the element, there is no possibility to detect and recognize it by Tabindex or Title. When I try access key it returns an error mentioning that I am entering a string rather an access key. So what should be done? Thanks for help.
Update: Ok. I solved the problem myself. It's possible to detect the element by access key. But instead of "s", it should be 's'. That solved the problem. Thanks for all answers.