I have the chromedriver setup for my tests like this:
mport org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class chromebrowser {
public static void main()
{
System.setProperty("webdriver.chrome.driver", "d://chromedriver.exe");
WebDriver driver=new ChromeDriver();
driver.get("https://google.com/");
}
}
Upon running the tests I receive the following error in the console: Starting ChromeDriver 2.12.301325 (962dea43ddd90e7e4224a03fa3c36a421281abb7) on port 43827 Only local connections are allowed.
Please note that the chrome window will be opened, with "data:," as text.
How can i set up chromedriver to run on external links?