sclevine / agouti

A WebDriver client and acceptance testing library for Go
MIT License
822 stars 105 forks source link

DoubleClick not working, it just like a Click() #117

Closed dlintw closed 6 years ago

dlintw commented 7 years ago

I'm trying to run web application automatically.

sel = page.FirstByID("myid")
sel.DoubleClick()  // this behavior like Click instead of DoubleClick

How to debug it? Could I use Click to simulate Double Click?

sclevine commented 7 years ago

Does sel.DoubleClick() return an error? Does it fail to double click in more than one WebDriver? You may be able to call sel.Click() twice in quick succession, but I haven't tried this.