This fixes a problem with using phantomjs 2.5.0-beta on Windows:
Error in session_makeRequest(self, private, endpoint, data, params, headers): Detected a page unload event; asynchronous script execution does not work across page loads.
This PR makes $initialize() to wait until the browser actually navigates to the page before continuing.
This fixes a problem with using phantomjs 2.5.0-beta on Windows:
This PR makes
$initialize()
to wait until the browser actually navigates to the page before continuing.