Skip to content

Allow CommandProvider to "re-initialize" fresh web driver#175

Open
ffMathy wants to merge 2 commits intostirno:devfrom
ffMathy:dev
Open

Allow CommandProvider to "re-initialize" fresh web driver#175
ffMathy wants to merge 2 commits intostirno:devfrom
ffMathy:dev

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