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
add new android operation(open app,exit,stop) #1207
Conversation
Feat add werewolf game
/review |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
return exit_res | ||
|
||
def _ocr_text(self, text: str) -> list: | ||
if not self.screenshot_dir.exists(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
already use self.create_device_path
. no need.
|
||
@mark_as_writeable | ||
def user_click_icon(self, icon_shape_color: str) -> str: | ||
if not self.screenshot_dir.exists(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same.
lgtm |
Features
Feature Docs
Influence
You can use EXIT to return to the main interface of the mobile phone and turn off the application that is running in the background
You can use stop to return to the task success information
You can use OpenApp without XML to turn on the mobile app
You can use Click Text without XML to click special text icon
Result
Other