O'Reilly logo

Mastering Selenium WebDriver 3.0 by Mark Collin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Starting and stopping Appium with Maven

When we run our tests we want the ability to start and stop everything, so we are going to add another profile and a series of additional plugins. First of all, we need to add some properties into our <properties> block in preparation for this new profile with all these new plugins:

<appium-maven-plugin.version>0.2.0</appium-maven-plugin.version><maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version><frontend-maven-plugin.nodeVersion>v7.4.0</frontend-maven-plugin.nodeVersion><frontend-maven-plugin.npmVersion>4.1.1</frontend-maven-plugin.npmVersion><port-allocator-maven-plugin.version>1.2</port-allocator-maven-plugin.version>

Next we have our new profile, this is quite a big one:

<profile> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required