Work around appium/appium/issues/214