feat: get android device timestamp

This commit is contained in:
lilong.129
2023-06-05 00:43:36 +08:00
parent ef7f8def53
commit b81903ab5e
3 changed files with 22 additions and 0 deletions

View File

@@ -477,6 +477,9 @@ type WebDriver interface {
Screen() (Screen, error)
Scale() (float64, error)
// GetTimestamp returns the timestamp of the mobile device
GetTimestamp() (timestamp int64, err error)
// Homescreen Forces the device under test to switch to the home screen
Homescreen() error