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

android元素的获取 #926

Open
jekiki opened this issue May 21, 2019 · 1 comment
Open

android元素的获取 #926

jekiki opened this issue May 21, 2019 · 1 comment

Comments

@jekiki
Copy link

jekiki commented May 21, 2019

  • Macaca Version:

  • Macaca Doctor Logs:

  • Operate System:

  • Programming Language:
    python

1、如何通过android的属性获取元素,App inspector中的 text 、resource-id、content-desc,不通过xpath来获取

2、element_by_name、element_by_id分别对应什么

3、支持正则表达式匹配元素吗?

@macaca-bot
Copy link

This is the translated issue:


Get android element

  • Macaca Version:

  • Macaca Doctor Logs:

  • Operate System:

  • Programming Language:
    Python

  1. How to get the element through the android property, the text, resource-id, content-desc in the App inspector, not obtained by xpath

  2. What is the corresponding element_by_name and element_by_id?

  3. Does it support regular expression matching elements?

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

2 participants