Opening the chrome driver and browser on a specific port, and connecting to already opened chrome browser.
2 min readMar 13, 2020
Introduction:
This article helps you in understanding how to start chrome driver on a specific port, connect to an existing browser session and opening chrome browser with debug port opened through selenium scripts.
You should use ChromeDriverService for starting chrome in a different port:
import org.openqa.selenium.chrome.WebDriver; import…