feat(fake): add fake window handle plugin override
MODIFY
packages/appium-plugins/packages/fake/lib/plugin.js
packages/appium-plugins/packages/fake/lib/plugin.js
@@ -55,6 +55,11 @@ export default class FakePlugin extends BasePlugin {
driver.fakeSessionData = args[0];
return null;
}
+
+ async getWindowHandle (next) {
+ const handle = await next();
+ return `<<${handle}>>`;
+ }
}
export { FakePlugin };

feat(fake): add fake window handle plugin override