Updating your Appium tests written in Java to use W3C Capabilities