feat: add right clcik and webid

This commit is contained in:
huangbin.beal@163.com
2025-02-25 16:22:31 +08:00
parent 3b509ba6c6
commit e50454512f
6 changed files with 25 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,