Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
Chrome doesn't open URL automatically

Why did this happen? Chrome opens but the URL does not open with the code.

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
        
public class Id {
    public static void main(String[] args) {
        System.setProperty("webdriver.chrome.driver", "E:\\chromedriver\\chromedriver.exe"); //open browser
        WebDriver driver = new ChromeDriver(); 
        **driver.get("google.co.in"); //open URL**
        driver.findElement(By.name("q")).sendKeys("Quadkast" + Keys.ENTER);
    }
}
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You need to give http/https protocol along with the url in the get() method

driver.get("http://www.google.com");
            or
driver.get("https://google.com");
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!