sclevine / agouti

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

Need help to click/Tap elements on mobile #167

Open gomkat opened 6 years ago

gomkat commented 6 years ago

Hi!. I am currently using agouti to test a website on desktop and mobile, but I am having a hard time with the mobile implementation. I am trying to check a checkbox and click on a submit button in a form, but nothing happens when I use the .Tap() function. Here is how the code looks like:

tap := agouti.Tap(0) page.FindElement(termsConditionsCheck).Tap(tap) page.FindElement(signUpSubmitBtn).Tap(tap)

is there anything I am missing, am I doing something wrong?