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 CommandProvider to "re-initialize" fresh web driver #175

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

Conversation

ffMathy
Copy link

@ffMathy ffMathy commented Mar 14, 2017

Currently if I decide to use FluentAutomation and I want to switch driver at runtime or I want to kill and re-open the driver because it has been exhausted due to memory issues, I can't, since the CommandProvider has cached the old IWebDriver instance.

This solution proposal adds a new protected method that allows me to clear that cache and force a re-initialization.

Please let me know what you think.

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