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

If no driver matching capybara.current_driver can be found, fall back to looking up by class #290

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

Conversation

TylerRick
Copy link
Contributor

@TylerRick TylerRick commented Oct 25, 2022

(page.driver.class.to_sym)

This allows it to still find the driver even if they registered it with Capybara.register_driver using an alias name that isn't known to Capybara::Screenshot. See #284.

… to looking up by class

(page.driver.class.to_sym)

This allows it to still find the driver even if they registered it with Capybara.register_driver
using an alias name that isn't known to Capybara::Screenshot. See mattheworiordan#284.
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.

1 participant