Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In initialize(), wait for navigation #388

Merged
merged 4 commits into from May 28, 2021
Merged

In initialize(), wait for navigation #388

merged 4 commits into from May 28, 2021

Conversation

wch
Copy link
Collaborator

@wch wch commented May 28, 2021

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.

@wch wch requested a review from cpsievert May 28, 2021 15:35
R/initialize.R Outdated Show resolved Hide resolved
Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
@wch wch merged commit ad45c6b into master May 28, 2021
@wch wch deleted the wait-navigate branch May 28, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants