lib/page.rb in gridium-0.1.1 vs lib/page.rb in gridium-0.1.2

- old
+ new

@@ -55,19 +55,19 @@ return true end end def self.scroll_to_bottom - Driver.execute_script('window.scrollTo(0,100000)') + Driver.execute_script_driver('window.scrollTo(0,100000)') end def self.scroll_to_top #TODO Verify this - Driver.execute_script('window.scrollTo(100000,0)') + Driver.execute_script_driver('window.scrollTo(100000,0)') end def self.execute_script(script) - Driver.execute_script(script) + Driver.execute_script_driver(script) end def all(by, locator) Driver.driver.find_elements(by, locator) end \ No newline at end of file