WebDriver cannot be resolved to a type FirefoxDriver cannot be resolved to a type

后端 未结 7 1798
一个人的身影
一个人的身影 2020-12-01 21:51

I found a similar error as mine on stackoverflow and added selenium webdriver jar files to the project using the below method :

right click on project--> goto build

7条回答
  •  执笔经年
    2020-12-01 22:22

    Please follow the below steps:

    1. right-click on project--> goto build path--> configure build path
    2. Click on Classpath node which is just below the Modulepath node.
    3. click "Add external jars"--> add selenium jar files from your local machine-->
    4. Click Apply and Close button.

提交回复
热议问题