mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-06 00:09:37 +08:00
feat: get android device timestamp
This commit is contained in:
@@ -161,6 +161,10 @@ func (wd *wdaDriver) Screen() (screen Screen, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (wd *wdaDriver) GetTimestamp() (timestamp int64, err error) {
|
||||
return 0, errDriverNotImplemented
|
||||
}
|
||||
|
||||
func (wd *wdaDriver) Scale() (float64, error) {
|
||||
screen, err := wd.Screen()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user