mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 06:49:38 +08:00
refactor: DriverSession
This commit is contained in:
@@ -68,12 +68,12 @@ var (
|
||||
iosDriverExt *XTDriver
|
||||
)
|
||||
|
||||
func init() {
|
||||
iosDevice, _ = NewIOSDevice()
|
||||
driver, _ := iosDevice.NewDriver()
|
||||
iosDriverExt = NewXTDriver(driver,
|
||||
ai.WithCVService(ai.CVServiceTypeVEDEM))
|
||||
}
|
||||
// func init() {
|
||||
// iosDevice, _ = NewIOSDevice()
|
||||
// driver, _ := iosDevice.NewDriver()
|
||||
// iosDriverExt = NewXTDriver(driver,
|
||||
// ai.WithCVService(ai.CVServiceTypeVEDEM))
|
||||
// }
|
||||
|
||||
func TestDriverExt_TapXY(t *testing.T) {
|
||||
err := iosDriverExt.TapXY(0.4, 0.5)
|
||||
|
||||
Reference in New Issue
Block a user