My application is using microservice and it has many different services. One of the service is launching a chrome driver from the Java code.
I need to access the same chrome driver from the other service. RemoteWebDriver seems to be a solution to do that.
Can anyone please help me how to do that. I am having a chrome driver in service A, which is a java application.
ChromeDriver driver = new ChromeDriver(capabilities);
driver.get(urlToLoad);
Is there any way I can use the same browser window which is open in the system in Service B, which is a Java application running in the same machine.. I need to resuse the same browser since I need the same session of that browser.
It will be a great help if someone could let me know a solution.