mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-02 06:19:34 +08:00
feat: 支持获取剪贴板
This commit is contained in:
@@ -321,3 +321,10 @@ func TestDriver_UIA2_Input(t *testing.T) {
|
||||
err = driver.Input("123\n")
|
||||
assert.Nil(t, err)
|
||||
}
|
||||
|
||||
func TestDriver_ADB_GetPasteboard(t *testing.T) {
|
||||
driver := setupADBDriverExt(t)
|
||||
pasteboard, err := driver.IDriver.(*ADBDriver).GetPasteboard()
|
||||
assert.Nil(t, err)
|
||||
t.Log(pasteboard)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user