mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-01 05:49:40 +08:00
refactor: replace NewDriver args with options
This commit is contained in:
@@ -102,7 +102,7 @@ type WorldCupLive struct {
|
||||
}
|
||||
|
||||
func NewWorldCupLive(device uixt.Device, matchName, bundleID string, duration, interval int) *WorldCupLive {
|
||||
driverExt, err := device.NewDriver(nil)
|
||||
driverExt, err := device.NewDriver()
|
||||
if err != nil {
|
||||
log.Fatal().Err(err).Msg("failed to init driver")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user