feat: 支持shoots协议, app_process获取前台应用, 修复部分bug

This commit is contained in:
余泓铮
2024-07-29 15:51:05 +08:00
parent e2a7c29acf
commit e03e8832a9
11 changed files with 310 additions and 53 deletions

View File

@@ -610,6 +610,8 @@ type WebDriver interface {
// Input works like SendKeys
Input(text string, options ...ActionOption) error
Clear(packageName string) error
// PressButton Presses the corresponding hardware button on the device
PressButton(devBtn DeviceButton) error
@@ -625,6 +627,8 @@ type WebDriver interface {
LoginNoneUI(packageName, phoneNumber string, captcha string) error
LogoutNoneUI(packageName string) error
TapByText(text string, options ...ActionOption) error
TapByTexts(actions ...TapTextAction) error