This is my first post to the forum. WPT is awesome, Thanks a bunch for this pmeenan!
The question I have is that for some reason my login script works only on IE7-9 but does not work when I select Firefox or Chrome.
The following is the script I use:
setValue username <some_user_name>
Is there any known issues with submitForm interacting with the className on non-IE browsers?
Could you use submitForm name instead of submitForm className?
I tried that (submitForm name) first and it would not work even on IE.
Maybe something to do with the form. The HTML in question that I am trying to script looks as
<input name="password" type="password"/>
<input name="RememberMe" type="checkbox" value="true"/>
<label for="RememberMe" class="checkbox-field">Remember Me</label>
<input type="hidden" name="Destination" value=""/>
The reason submitForm name doesn’t work is the form doesn’t have a name - do you have access to the code to fix this?
@andydavies: Thanks a bunch for your help on this.
Unfortunately I am a proxy guy and this is for a prospect of mine. I can ask them but its gonna take a while and strongly prefer if there is a way we can automate the login via WPT.