June 2017
Intermediate to advanced
256 pages
5h 38m
English
In the preceding code we wrote, AppiumDriver wd is private to the method. We need to refactor it to make it available to all the methods in that class. So, highlight the line, click on Refactor > Extract > Field, and choose appiumDriver from the list of values shown.
This will make your code look like this:

Read now
Unlock full access