mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-31 21:39:41 +08:00
refactor & fix: stub driver and server
This commit is contained in:
@@ -64,7 +64,7 @@ func (r *Router) keycodeHandler(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
// TODO FIXME
|
||||
err = driver.GetIDriver().(*uixt.ADBDriver).
|
||||
err = driver.IDriver.(*uixt.ADBDriver).
|
||||
PressKeyCode(uixt.KeyCode(keycodeReq.Keycode), uixt.KMEmpty)
|
||||
if err != nil {
|
||||
RenderError(c, err)
|
||||
|
||||
Reference in New Issue
Block a user