We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 815eca2 commit c1a993cCopy full SHA for c1a993c
lib/appium-driver.ts
@@ -322,7 +322,8 @@ export class AppiumDriver {
322
const matches = devicesInfos.filter(d => sessionInfoDetails.deviceName.includes(d.deviceType));
323
if (matches && matches.length > 0) {
324
const deviceType = matches[matches.length - 1];
325
- args.device.viewportRect.y += deviceType.actionBarHeight * deviceType.density;
+ args.device.viewportRect.y += deviceType.actionBarHeight;
326
+ args.device.viewportRect.height -= deviceType.actionBarHeight;
327
}
328
} catch (error) { }
329
0 commit comments