<div dir="ltr">Hi,<div><br></div><div>Is there a way to test web applications with Selenium and OpenLayers 2 (and maybe 3)?</div><div><br></div><div>I'm asking because I have setup Selenium Webdriver with Cucumber and would like to test the mapping part of the application(s). Everything works nicely. I can fill out forms, click on elements etc.</div><div><br></div><div>However, zooming and panning a map OpenLayers object is different. I cannot even figure out how to emit an event that would trigger a feature information in our application. However, I found it difficult to find out how to do just that. With Selenium and Webdriver one can execute JavaScript within a web browser context. It is basically a remote control for a web browser that actually starts up when the tests run. So, if you know some JS that emits the right events that would be a great help already.</div><div><br></div><div>Thanks in advance,</div><div>Tim</div><div><br clear="all"><div><div dir="ltr">Tim-Hinnerk Heuer<br><br>Twitter: @geekdenz<br><div>Blog: <a href="http://www.thheuer.com/" target="_blank">http://www.thheuer.com</a></div></div></div>
</div></div>