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

Allow dynamic imports in node selenium code #147

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hoodmane
Copy link
Member

Since node v20 we can pass importModuleDynamically to allow dynamic imports in code run by vm.runInContext. In older node versions, we fall back to the old behavior.

Tested manually.

Since node v20 we can pass `importModuleDynamically` to allow dynamic
imports in code run by `vm.runInContext`. In older node versions, we
fall back to the old behavior.

Co-Authored-By: Antonio Cuni <[email protected]>
@hoodmane hoodmane force-pushed the allow-dynamic-import branch from ebbedb3 to 2bc222b Compare February 19, 2025 18:14
Copy link
Member

@ryanking13 ryanking13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

2 participants