INNER CODE UNIT · TypeScript
endY
blokadaorg/blokada · automation/appium/wdio/src/flows/app.ts:80
const endY = Math.round(rect.height * 0.35);
try {
await driver.execute("mobile: dragFromToForDuration", {
duration: 0.7,
fromX: startX,
fromY: startY,
toX: startX,
toY: endY
});
await driver.pause(800);
} catch (error) {
console.warn(`App switcher gesture failed (${String(error)}). Falling back to activateApp.`);
await activateApp(bundleId);
return;
}
const label = (appLabel ?? "").trim();