Not sure if this is bug or feature request, but it is pretty annoying. Let me explain my use case.
Use case
I want to use my own instance of WebDriver. The code:
public static void createChromeDriver() {
// boring lines of code here, not important
WebDriver driver = new ChromeDriver(options)
DriverFactory.changeWebDriver(driver)
}
Problem
I am not able to see the WebDriver instance in a list of opened instances
This is quite annoying as I cannot reuse already opened instance as I can if I create WebDriver using WebUI.openBrowser(). Is there any workaround for this?