Only local connections are allowed error message for chrome driver

0 votes
package sample;

import org.openqa.selenium.WebDriver;

import org.openqa.selenium.chrome.ChromeDriver;

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.By;

import org.openqa.selenium.WebElement;

import org.openqa.selenium.firefox.FirefoxDriver;

import org.openqa.selenium.support.ui.ExpectedConditions;

import org.openqa.selenium.support.ui.WebDriverWait;

public class Testing {

public static void main(String[] args) {

System.setProperty("webdriver.chrome.driver", "path/to/chromedriver.exe");

        WebDriver driver=new ChromeDriver();

            driver.manage().window().maximize();

            String url = "https://accounts.google.com/signin";

            driver.get(url);

            driver.findElement(By.id("identifierId")).sendKeys("raj8805");

            //driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);      

            WebDriverWait wait=new WebDriverWait(driver, 20);               

            driver.findElement(By.xpath("//span[@class='RveJvd snByac']")).click();         

            driver.manage().timeouts().implicitlyWait(50, TimeUnit.SECONDS);        

            driver.findElement(By.xpath("//input[@class='whsOnd zHQkBf']")).sendKeys("asassassa");             

            driver.findElement(By.xpath("//span[@class='RveJvd snByac']")).click();

    }  

}

while executing the above code in eclipse i got the below error message .

Starting ChromeDriver 74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}) on port 47876
Only local connections are allowed.

if any one can help me with the reason .
Apr 29 in Selenium by Pratikhya
• 120 points
307 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Selenium

0 votes
1 answer

Latest Version of Chrome Driver for Selenium Webdriver

The driver versions mentioned on the site ...READ MORE

answered Apr 11, 2018 in Selenium by DareDev
• 6,810 points
431 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

dBase for my website always gives me this error “Invalid syntax”

Seems like you are missing a close ...READ MORE

answered Mar 30, 2018 in Selenium by nsv999
• 5,050 points
41 views
0 votes
1 answer

Do we have Selenium IDE for Chrome (like Firefox does)?

Actually, very recently Chrome has come up ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,050 points
137 views
0 votes
1 answer

Error: FF Browser not working for Selenium test after update

Since Firefox's latest update to version 47.0, ...READ MORE

answered Apr 20, 2018 in Selenium by king_kenny
• 3,590 points
77 views
0 votes
1 answer

Is it possible for a website to detect that we are using Selenium with ChromeDriver

Selenium tests for pre-defined javascript variables which ...READ MORE

answered Apr 27, 2018 in Selenium by Meci Matt
• 9,400 points
1,941 views
+1 vote
1 answer
0 votes
1 answer