lib/capybara/poltergeist/driver.rb in poltergeistFork-0.0.2 vs lib/capybara/poltergeist/driver.rb in poltergeistFork-0.0.3

- old
+ new

@@ -185,11 +185,19 @@ def render_base64(format = :png, options = {}) browser.render_base64(format, options) end - def set_screen_size(s_width,s_height) - browser.set_screen_size(s_width, s_width) + def set_screen_size(s_width,s_height,s_color) + browser.set_screen_size(s_width, s_width, s_color) + end + + def set_flash(s_version) + browser.set_flash(s_version) + end + + def set_java(s_java) + browser.set_java(s_java) end def paper_size=(size = {}) browser.set_paper_size(size) end