June 2017
Intermediate to advanced
256 pages
5h 38m
English
Let's refactor the given line and change the buildDefaultService(); instead, we will use the buildService() method, which will take some of the server flags discussed earlier:
AppiumDriverLocalService appiumService = AppiumDriverLocalService.buildDefaultService();
Ensure that the path to node and Appium is what you found on your machine. To find the path on your Mac machine, launch Terminal and run the which appium and which node commands to get the path:

Also, the path to the log file can be relative to the project folder. So, now the method should look as shown in the following code:
@Beforepublic void startAppiumServer() ...
Read now
Unlock full access