mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-05 05:26:55 +08:00
refactor: improve ActionMethod type safety and eliminate type conversions
This commit is contained in:
@@ -33,15 +33,6 @@ type UploadRequest struct {
|
||||
FileFormat string `json:"file_format"`
|
||||
}
|
||||
|
||||
type HoverRequest struct {
|
||||
X float64 `json:"x"`
|
||||
Y float64 `json:"y"`
|
||||
}
|
||||
|
||||
type ScrollRequest struct {
|
||||
Delta int `json:"delta"`
|
||||
}
|
||||
|
||||
type CreateBrowserRequest struct {
|
||||
Timeout int `json:"timeout"`
|
||||
Width int `json:"width"`
|
||||
|
||||
Reference in New Issue
Block a user