mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-10 23:12:41 +08:00
feat: 支持获取剪贴板
This commit is contained in:
@@ -356,3 +356,10 @@ func TestDriver_WDA_PushImage(t *testing.T) {
|
||||
err = driver.ClearImages()
|
||||
assert.Nil(t, err)
|
||||
}
|
||||
|
||||
func TestDriver_WDA_GetPasteboard(t *testing.T) {
|
||||
driver := setupWDADriverExt(t)
|
||||
pasteboard, err := driver.IDriver.(*WDADriver).GetPasteboard()
|
||||
assert.Nil(t, err)
|
||||
t.Log(pasteboard)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user