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

[EXPERIMENTAL] expose testdriver + webdriver bidi #448

Closed
wants to merge 21 commits into from

Conversation

sadym-chromium
Copy link
Owner

No description provided.

resources/testdriver.js Outdated Show resolved Hide resolved
@sadym-chromium sadym-chromium force-pushed the sadym/testdriver-bidi branch 3 times, most recently from b7e7259 to ca69363 Compare February 16, 2024 10:38
@sadym-chromium sadym-chromium force-pushed the sadym/testdriver-bidi branch 2 times, most recently from c59430c to 465c289 Compare February 16, 2024 10:55
resources/testdriver.js Outdated Show resolved Hide resolved
resources/testdriver.js Outdated Show resolved Hide resolved
method = self.webdriver.execute_async_script if asynchronous else self.webdriver.execute_script
return method(script, args=args)

async def async_execute_script(self, script, context, args=None):
Copy link

Choose a reason for hiding this comment

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

I am thinking if async_execute_script is a good name since the execute_script can also be "async" by setting asynchronous to True. Perhaps we could find a better name but not blocking.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Do you have a good idea for the name?

Copy link

Choose a reason for hiding this comment

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

Not really, I think it's probably the best name possible and kind of appears to be common in python codebases to prefix async def with async_

sadym-chromium and others added 3 commits February 16, 2024 13:04
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
@sadym-chromium
Copy link
Owner Author

Closing in favor of web-platform-tests#44649.

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.

3 participants