5. How to get an instance of `WebDriver` created by Metalloid WebDriver Pool? - Rafal-Laskowski/Metalloid-WebDriver-Pool GitHub Wiki
There is a simple method that will return WebDriver
to a test.
WebDriver driver = WebDriverPool.get();
When Metalloid-WebDriver-Pool creates an instance of WebDriver
it saves it and assigns to a specific Java Thread
.
If you want to get the saved instance, Metalloid-WebDriver-Pool will return it based on the Thread
which invoked WebDriverPool.get()
method