mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-07 08:49:37 +08:00
refactor: move shoots driver to driver_ext
This commit is contained in:
@@ -38,8 +38,7 @@ func handleDeviceContext() gin.HandlerFunc {
|
||||
switch strings.ToLower(platform) {
|
||||
case "android":
|
||||
device, err := uixt.NewAndroidDevice(
|
||||
option.WithSerialNumber(serial),
|
||||
option.WithStub(true))
|
||||
option.WithSerialNumber(serial))
|
||||
if err != nil {
|
||||
log.Error().Err(err).Str("platform", platform).Str("serial", serial).
|
||||
Msg("device not found")
|
||||
|
||||
Reference in New Issue
Block a user