diff --git a/lib/helper/WebDriverIO.js b/lib/helper/WebDriverIO.js index 724f74188..3c8d97897 100644 --- a/lib/helper/WebDriverIO.js +++ b/lib/helper/WebDriverIO.js @@ -1870,6 +1870,25 @@ class WebDriverIO extends Helper { )); }); } + + /** + * placeholder for ~ locator only test case write once run on both Appium and WebDriverIO + */ + runOnIOS(caps, fn) { + } + + /** + * placeholder for ~ locator only test case write once run on both Appium and WebDriverIO + */ + runOnAndroid(caps, fn) { + } + + /** + * placeholder for ~ locator only test case write once run on both Appium and WebDriverIO + */ + runInWeb(fn) { + return fn(); + } } function proceedSee(assertType, text, context, strict = false) {