Open jboffel opened 9 years ago
please provide a minimal test case
Well I was using it through a BDD like cucumber or behat and I was simply using a test case where I was doing: When I visit "anyUrl" <= this one was returning ok before the page is actually completely loaded And I press on "submit" <= this one was working or not depend how much of the page has been loaded before this request was sent to ghost driver Then I visit "anyOtherUrl" <= this call was killing the unfinished load of the first visited page
Ok, you're using --webdriver right?
Yes I was using the --webdriver support.
So a bug I identified in the 0.10.0pre is if you run a test which open a webpage, if you don't wait for slimerjs with a pause in the test program that it finish to process the request, slimerjs will cancel the first request to treat the new one.
On the other hand this scenario works well then: