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.
I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com
Steps:
- Open eclipse.
- Go to File->New->Other->Maven->Maven Project->Next
- Browse location(where project will be saved)->Next
- Select Catalog as “Maven Central”-> Select “org.apache.maven.archetypes” under group id.
- Select Finish.
- Maven Project is created.
- Open POM.XML
- Give the code below tag under dependencies tag.
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.12.1</version>
</dependency> - Right click on project -> select Build Project
- Run the program now-it should work now.
Excerpt:
In this video tutorial, we will learn how to troubleshoot issues with a Selenium project in a Maven project, even after including the correct Selenium dependency in the pom.xml file. The video provides a step-by-step guide to address the issue, and it also includes the necessary steps such as opening Eclipse, creating a Maven project, adding the Selenium dependency in the POM.XML file, building the project, and running the program. For further assistance or inquiries, viewers are directed to contact the provided website or email address.