lib/capybara/poltergeist/browser.rb in poltergeistFork-0.0.2 vs lib/capybara/poltergeist/browser.rb in poltergeistFork-0.0.3
- old
+ new
@@ -228,11 +228,19 @@
def set_zoom_factor(zoom_factor)
command 'set_zoom_factor', zoom_factor
end
- def set_screen_size(s_width,s_height)
- command 'set_screen_size', s_width, s_height
+ def set_screen_size(s_width,s_height,s_color)
+ command 'set_screen_size', s_width, s_height, s_color
+ end
+
+ def set_flash(s_version)
+ command 'set_flash', s_version
+ end
+
+ def set_java(s_java)
+ command 'set_java', s_java
end
def set_paper_size(size)
command 'set_paper_size', size
end