I am a newbie to Selenium and trying to open localhost:3000 page from Chrome via selenium driver. The code is :
import com.google.common.base.Function;
imp
You need to add two things to run :
First - you should use http://localhost:3000
Second - You must use debug port before creating webDriver as : options.addArguments("--remote-debugging-port=9225");
Whole Code:
WebDriverManager.chromedriver().setup();
ChromeOptions options = new ChromeOptions();
options.setExperimentalOption("useAutomationExtension", false);
options.addArguments("--remote-debugging-port=9225");
WebDriver driver = new ChromeDriver(options);
Drop comments if you have any query