0

I have tried to Selenium jar files using module path and class path but still the selenium function is not recognising PFA image

pfa image

I have followed the below step

Adding Jar File in Module path

  1. Right click on project
  2. Select properties
  3. Under Java Build path Select modulepath and select add external jar
  4. Add all Jar file of Selenium
  5. Select Apply and close

Adding Jar File in Module path

  1. Right click on project
  2. Select properties
  3. Under Java Build path Select classpath and select add external jar
  4. Add all Jar file of Selenium
  5. Select Apply and close

Adding Jar File in Class path (User Library)

  1. Right click on project
  2. Select properties
  3. Under Java Build path Select classpath and select add Library
  4. Select user libraries, select new and add names
  5. From Add external Library add the library
  6. Select Apply and close and the finish it
alea
  • 980
  • 1
  • 13
  • 18
Akash
  • 11
  • 1
  • 1
    Delete your `module-info.java` file (if needed you can recreate it later via right-click on project and _Configure_) or [in `module-info.java` add the required `requires ...;` statement](https://en.wikipedia.org/wiki/Java_Platform_Module_System#Properties_of_modules). – howlger May 13 '23 at 09:34
  • Thank You so much for the solution – Akash Jul 28 '23 at 19:51

0 Answers0