Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Swap driver.execute_script for async version in Chrome#584

Open
stevenday wants to merge 1 commit intobbc:masterfrom
CityScience:async-before-capture-scripts
Open

Swap driver.execute_script for async version in Chrome#584
stevenday wants to merge 1 commit intobbc:masterfrom
CityScience:async-before-capture-scripts

Conversation

@stevenday
Copy link

execute_script runs synchronously, whereas execute_async_script provides
a callback argument to the script. This makes the before capture scripts
for Chrome more like the ones for Phantom and Casper and allows users
to do more advanced things in their before_captures.

execute_script runs synchronously, whereas execute_async_script provides
a callback argument to the script. This makes the before capture scripts
for Chrome more like the ones for Phantom and Casper and allows users
to do more advanced things in their before_captures.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant