mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-28 02:51:42 +08:00
feat: add adb screen record
This commit is contained in:
@@ -37,7 +37,7 @@ func (r *Router) screenResultHandler(c *gin.Context) {
|
||||
|
||||
var actionOptions []option.ActionOption
|
||||
if screenReq.Options != nil {
|
||||
actionOptions = screenReq.Options.Options()
|
||||
actionOptions = screenReq.Options.GetScreenShotOptions()
|
||||
}
|
||||
|
||||
screenResult, err := driver.GetScreenResult(actionOptions...)
|
||||
|
||||
Reference in New Issue
Block a user