This is my URL in object repository file URL = https://www.google.co.in/ And this is my code WebDriver driver = new FirefoxDriver(); driver.get("URL"); Getting error - Exception in thread "main" org.openqa.selenium.WebDriverException: Target URL URL is not well-formed. Command duration or timeout: 43 milliseconds