feat: 新增获取前台应用,oppo输入法切换兼容性适配。新增切换输入法方法

This commit is contained in:
余泓铮
2024-06-24 16:42:26 +08:00
parent 02a8783223
commit d084066354
6 changed files with 78 additions and 12 deletions

View File

@@ -572,6 +572,8 @@ type WebDriver interface {
// It worked when `WDA` was foreground. https://github.com/appium/WebDriverAgent/issues/330
GetPasteboard(contentType PasteboardType) (raw *bytes.Buffer, err error)
SetIme(ime string) error
// SendKeys Types a string into active element. There must be element with keyboard focus,
// otherwise an error is raised.
// WithFrequency option can be used to set frequency of typing (letters per sec). The default value is 60