You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I'm planning to use WKZombie in an upcoming project. I'm trying to login to a website, by setting the value attributes of some input elements and submit a form. I Have experience as an iOS developer, but I'm quite new to the web development (HTML/CSS/Javascript), so maybe I'm misunderstanding something. I'm using the same process as the WKZombie Demo Application.
It find all elements and sets the right attributes. When it's has submitted the form and waited for 3 seconds, it can't find the last element. When looking at the snapshots, I see that the attributes get set right, but on the last screenshot I see that the browser is still on the login page, with the password reset. I sure it's the right credentials. It seems that the form isn't submitted right. The printet result is "Element Not Found".
Here is the HTML of the form:
<form method="post" action="./login.aspx" onsubmit="javascript:return WebForm_OnSubmit();" onkeypress="javascript:return WebForm_FireDefaultButton(event, 'm_defaultformbtn')" id="aspnetForm" class="ls-master-container2" autocomplete="off">
<!— Lots of HTML and stuff —>
</form>
I've also tried:
with a local instance of WKZombie, but with same result.
to execute the JavaScript, by running execute("WebForm_OnSubmit()"). The JavaScript result was a Success, but I could seem to go on from there. How would I load the following page?
finding the Login-button element and running click, but doesn't work either. It is executing for a while, and the I get the "Cancelling Rendering"-error.
This might not be an issue with WKZombie, but any clues would be much appreciated!! :)
Great work with this project 👍
The text was updated successfully, but these errors were encountered:
Hey,
I'm planning to use WKZombie in an upcoming project. I'm trying to login to a website, by setting the value attributes of some input elements and submit a form. I Have experience as an iOS developer, but I'm quite new to the web development (HTML/CSS/Javascript), so maybe I'm misunderstanding something. I'm using the same process as the WKZombie Demo Application.
This gives me the following Log:
It find all elements and sets the right attributes. When it's has submitted the form and waited for 3 seconds, it can't find the last element. When looking at the snapshots, I see that the attributes get set right, but on the last screenshot I see that the browser is still on the login page, with the password reset. I sure it's the right credentials. It seems that the form isn't submitted right. The printet result is "Element Not Found".
Here is the HTML of the form:
I've also tried:
execute("WebForm_OnSubmit()")
. The JavaScript result was a Success, but I could seem to go on from there. How would I load the following page?Login
-button element and runningclick
, but doesn't work either. It is executing for a while, and the I get the "Cancelling Rendering"-error.This might not be an issue with WKZombie, but any clues would be much appreciated!! :)
Great work with this project 👍
The text was updated successfully, but these errors were encountered: