ph7 / selenium-client

Official Ruby client API for Selenium Remote Control (bare bone client driver)
http://rubyforge.org/projects/selenium-client/
Apache License 2.0
153 stars 47 forks source link

Thoughts about adding this method? #27

Closed bryanmikaelian closed 13 years ago

bryanmikaelian commented 13 years ago

Added a clickAndWaitForPageToLoad method. This is something we implemented on our end for our C# tests and has worked quite nicely. It eliminates the need to call the click and waitForPageToLoad method seperately, in certain situations.

ph7 commented 13 years ago

Hi,

As described in the README the functionality is already there, with more flexible wait semantics:

click 'the_button_id', :wait_for => :page

Cheers,

bryanmikaelian commented 13 years ago

Oh awesome! It helps to read haha! Thanks Philippe