mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
refactor: move browser device options to pkg/uixt/option pkg
This commit is contained in:
@@ -66,7 +66,7 @@ func (p RouterBaseMethod) GetDevice(c *gin.Context) (device uixt.IDevice, err er
|
||||
return
|
||||
}
|
||||
case "browser":
|
||||
device, err = uixt.NewBrowserDevice(uixt.WithBrowserId(serial))
|
||||
device, err = uixt.NewBrowserDevice(option.WithBrowserID(serial))
|
||||
if err != nil {
|
||||
RenderErrorInitDriver(c, err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user