search for: selenium_driver

Displaying 1 result from an estimated 1 matches for "selenium_driver".

2008 May 08
7
Rspec Stories / Selenium Nightmare
...aning operation. It has to do lots of horrible things like remove all listeners for a selenium story and then re-add them all for the others stories. *Code Extract* def story_ended(title, narrative) case title when ''Edit a page'' #We have finished the selenium story $selenium_driver.stop #Do we need to re-add some listeners if !@listener_reloaded Spec::Story::Runner.scenario_runner.add_listener(ActiveRecordSafetyListener.instance) @listener_reloaded=true end end end I had to duplicate a lot of the story steps since now any previous post/gets did...