robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Tapestry5 LinkSubmit and "Click Element" doesn't work in Chrome #180

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by richard.... on 7 Mar 2011

I'm having a testcase that uses an xpath-expression "xpath=//a[@⁠id='save_0']'" to locate an element on my page, which is rendered by tapestry5 (LinkSubmit) button. The click should make a client-side form submit with javascript. When I use "Click Element" the button fires in Firefox but nothing happens in Google Chrome version 9.0.597.107 (*googlechrome) and I'm running in a timeout.

Any ideas why this happens?

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 7 Mar 2011

These kind of issue are usually Selenium issues rather than ours. I really have no idea what goes wrong here, and we probably couldn't do much to it anyway.

One thing that you could try is to execute the action directly using Execute Javascript

spooning commented 9 years ago

Originally submitted to Google Code by richard.... on 8 Mar 2011

Thanks for your comment. I am now using "Submit Form" instead of "Click Event". Now it works in Chrome, FF and IE.

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 8 Mar 2011

I am closing this since there seems to be nothing to do.