4

i have setup eclipse and setup require jar file. i want to just open browser using selenium. but it display error enter image description here

enter image description here

8
  • Hi have you downloaded chrome driver for linux ?
    – Sagar007
    Jul 4, 2017 at 9:34
  • yes i have download
    – Rutvi Soni
    Jul 4, 2017 at 9:37
  • I think there are latest version available for chromedriver. Download it and replace with your current one. Then also try update chrome browser and use it.
    – Sagar007
    Jul 4, 2017 at 9:38
  • i have replace update version but still getting error
    – Rutvi Soni
    Jul 4, 2017 at 9:50
  • Update selenium 3.4.0 and chromedriver latest
    – Sagar007
    Jul 4, 2017 at 10:01

2 Answers 2

2

Possible error :

  1. Old configurations
  2. Already chromedriver process is open and occupied port

Solution :

1. Use latest files :

  • Java 8
  • Selenium 3.4.0 (Latest one)
  • Chromedriver (Latest one)

    Note : Clean your project before use.

2. Sometimes already opened chromedriver process blocked the ports :

  • Run command to kill all process related to chrome browser in terminal:

        killall chrome
        killall chromedriver
    

    Note : Name of the process would be same as given in chromedriver. Here chrome is process name.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.