Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

控件获取不全 #942

Open
jekiki opened this issue Aug 29, 2019 · 3 comments
Open

控件获取不全 #942

jekiki opened this issue Aug 29, 2019 · 3 comments

Comments

@jekiki
Copy link

jekiki commented Aug 29, 2019

  • 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也是同样的问题

@macaca-bot
Copy link

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.

@quxiaozha
Copy link
Collaborator

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

@macaca-bot
Copy link

This is the translated issue comment: @quxiaozha


Is there any relationship with Liu Haiping or full screen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants