In this video will see how to fix if selenium project is not working after giving correct selenium dependency in pom.xml for maven project.
Steps:
1. Open eclipse.
2. Go to File-New-Other-Maven-Maven Project-Next
3. Browse location(where project will be saved)-Next
4. Select Catalog as “Maven Central”- Select “org.apache.maven.archetypes” under group id.
5. Select Finish.
6. Maven Project is created.
7. Open POM.XML
8. Give the code below tag under dependencies tag.
dependency
groupId-org.seleniumhq.selenium-/groupId
artifactId-selenium-java-/artifactId
version-4.12.1-/version
/dependency
9. Right click on project - select Build Project
10. Run the program now-it should work now.
I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: [email protected]
Details:
https://programmerworld.co/selenium/h...