mkoehnke / WKZombie

WKZombie is a Swift framework for iOS/OSX to navigate within websites and collect data without the need of User Interface or API, also known as Headless browser. It can be used to run automated tests / snapshots and manipulate websites using Javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Receiving "Cancelling Rendering" Message when trying to log in to certain website

luisdil opened this issue · comments

commented

I am trying to log in to a certain website with the following code:

open(url) >>> get(by: .name("fdsa")) >>> setAttribute("value", value: user) >>> get(by: .name("fdsa")) >>> setAttribute("value", value: pw) >>> get(by: .name("loginform")) >>> submit === output

After it submits the login form it fails to render the new page form some unknown reason...

I am getting this also. I see this when using the simulator. I cannot seem to catch the error and once I get it for one url i continue to get it. closing the simulator does not fix the problem. restarting the mac seems to be the only fix

Anyone solved this problem? I am still getting the problem even if I restart my mac.