How to run a Maven project in selenium?

How to run a Maven project in selenium?

I am developing a maven project using java 1.

8 and selenium 3.0. I want to use Selenium Webdriver 2.53.1 for testing my project.But I am getting error as follows

Error: Error running tests. Cannot run program ":program:java" (in directory "D:UsersjagDownloadsJavaFXSwingAppMaven11jfxApp.exe"): error=2, The system cannot find the file specified Could not execute goal org.codehaus.mojo:selenium-maven-plugin:2.1:test (default-cli) on project jfxApp: The system cannot find the file specified: D:UsersjagDownloadsJavaFXSwingAppMaven11jfxApp.exe -Djunit.runner.output=testlog.txt -Dwebdriver.browserName=chrome -Dwebdriver.driver=D:usersjagDownloadsJavaFXSwingAppMaven11chromedriver.exe -Dwebdriver.managedesiredcapabilities=true -Didea.platform.version=2015.3 -Didea.family=WINDOWS -Dwebdriver.managedesiredcapabilities=true -Dwebdriver.ChromeOptions.binary=C:Program Files (x86)GoogleChromeApplicationchrome.args=--headless -Didea.launcher.port=7500 -Didea.path=C:Program Files (x86)JetBrainsIntelliJ IDEA 14.4bin -Dfile.encoding=UTF-8 -classpath %classpath org.

Related Answers

How to use Maven with Selenium?

Object repository is a web-based API that allows you to store, retri...

How can we use the Selenium tool with HeadSpin?

Selenium is a tool that is used to automate functional testing. There are two types...

What are 5 Uses of Selenium?

Selenium is a web-automation tool that helps you to test web applications....