WebPagetest Forums

Full Version: Unable to click on signIn button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

We are trying to implement launch, login, search and logout scenario in our script. We have an application where SignIn button is enabled after the user enters credentials. This happens as Javascript enables or disables the SigIn button by changing the property of class attribute from button_disable to button. But we could see navigation error although button is enabled. After enabling the button, we are not able to click on login button.

Here is the code for js and signIn click.

execAndWait document.getElementById("button_signin").setAttribute("class", "button");
clickAndWait id=button_signin class=button
submitForm id=login_form

Test Result:
https://www.webpagetest.org/result/18112...1023bc8d8/

Best Regards,
Alok Kumar
Reference URL's