Impact.js compatibility

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Impact.js compatibility


So, I once had to write some integration tests for a game made with impact.js. I didn’t create the game nor had I any knowledge of impact.

For these tests I was using Selenium and Appium. With Selenium I tried to click simple buttons inside the game. To my suprise that was not working. And at this point I’d just want to know if I judged the issue correctly and if there is a better workaround.

I wasn’t able to use Seleniums click method because the element I wanted to interact with was expecting something called ig.touchEvent. And as far as I understood the way Selenium works, is that it sends an HttpRequest to the browser to execute the according event, but since this event is not native to any browser Selenium could not do so? That’s atleast my explanation. My workaround for this was to simply trigger this event on the according element through javascript, which works fine.

So is there another explanation and workaround for this case?

*I can't provide sample code

*Selenium/Appium version doesn't matter

*I can't provide a way of reproduction

*Type and version of Browser doesn't matter

*Operating systems don't matter

*There is no error/stacktrace. Click will be executed but nothing happens.

You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit
For more options, visit