Merge 'feature/huangin/right_click' into 'wings'

feat: add right clcik and webid

See merge request: !67
This commit is contained in:
余泓铮
2025-02-26 07:45:23 +00:00
7 changed files with 26 additions and 5 deletions

View File

@@ -223,7 +223,7 @@ func (wd *BrowserWebDriver) tapBySelector(selector string, options ...option.Act
return err
}
func (wd *BrowserWebDriver) RightClick(x, y int) (err error) {
func (wd *BrowserWebDriver) RightClick(x, y float64) (err error) {
data := map[string]interface{}{
"x": x,
"y": y,