macaca icon indicating copy to clipboard operation
macaca copied to clipboard

控件获取不全

Open jekiki opened this issue 5 years ago • 3 comments

  • Macaca Version:

2.2.0

  • Macaca Doctor Logs:

macaca-doctor version: 2.0.18

Node.js checklist:

node env: D:\PF\nodejs\node.exe node version: v12.2.0

Android checklist:

JAVA version is 1.8 JAVA_HOME is set to D:\PF\Java\jdk1.8.0_181 ANDROID_HOME is set to D:\PF\Android\android-sdk Platforms is set to D:\PF\Android\android-sdk\platforms\android-26 ADB tool is set to D:\PF\Android\android-sdk\platform-tools\adb.exe GRADLE_HOME is set to D:\PF\gradle-5.4.1

Installed driver list:

android: 2.1.0 location: C:\Users\zpc\AppData\Roaming\npm\node_modules\macaca-android

  • Operate System: windows 10 64bit

  • Programming Language:python3.6

image

如图所示 image

手机的分辨率是1920X1200但是实际上控件获取的区域仅有1824X1200请问如何解决有没有好点办法,appium也是同样的问题

jekiki avatar Aug 29 '19 12:08 jekiki

This is the translated issue:


Incomplete control

  • Macaca Version:

2.2.0

  • Macaca Doctor Logs:

 Macaca-doctor version: 2.0.18

  Node.js checklist:

  Node env: D:\PF\nodejs\node.exe   Node version: v12.2.0

  Android checklist:

  JAVA version is 1.8   JAVA_HOME is set to D:\PF\Java\jdk1.8.0_181   ANDROID_HOME is set to D:\PF\Android\android-sdk   Platforms is set to D:\PF\Android\android-sdk\platforms\android-26   ADB tool is set to D:\PF\Android\android-sdk\platform-tools\adb.exe   GRADLE_HOME is set to D:\PF\gradle-5.4.1

  Installed driver list:

  Android: 2.1.0   Location: C:\Users\zpc\AppData\Roaming\npm\node_modules\macaca-android

  • Operate System: windows 10 64bit

  • Programming Language: python3.6

!image

as the picture shows image

The resolution of the mobile phone is 1920X1200, but the area obtained by the control is only 1824X1200. How to solve it is not a good way, appium is the same problem.

macaca-bot avatar Aug 29 '19 12:08 macaca-bot

和刘海屏或者全屏有没有关系?

quxiaozha avatar Jun 28 '21 10:06 quxiaozha

This is the translated issue comment: @quxiaozha


Is there any relationship with Liu Haiping or full screen?

macaca-bot avatar Jun 28 '21 10:06 macaca-bot