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

Adding support for bringing your own driver to the Browser #2693

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

BSd3v
Copy link
Contributor

@BSd3v BSd3v commented Nov 13, 2023

This is a proof-of-concept of being able to bring your own driver to the Browser object of dash.testing and be able to utilize predefined dash_duo tests.

Looking for feedback and usability.

self._driver = driver
else:
self._driver = until(self.get_webdriver, timeout=1)
self._driver.implicitly_wait(2)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we want the implicitly_wait inside here or would it be better to always call that even if you provide your own driver?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Lets set the implicitly_wait(2) for all, since there is no easy way to confirm if the driver already has one set.

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