Sha256: cf996a48bec28221f8958866d7bf94bddbb32fbfbcafe7a725c1c4ecd4034e05

Contents?: true

Size: 392 Bytes

Versions: 9

Compression:

Stored size: 392 Bytes

Contents

module Selenium
  module WebDriver
    class Navigation

      def initialize(driver)
        @bridge = driver.bridge
      end

      def to(url)
        @bridge.get url
      end

      def back
        @bridge.goBack
      end

      def forward
        @bridge.goForward
      end

      def refresh
        @bridge.refresh
      end

    end # Navigation
  end # WebDriver
end # Selenium

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
rainux-selenium-webdriver-0.0.17 common/src/rb/lib/selenium/webdriver/navigation.rb
selenium-webdriver-0.0.17 common/src/rb/lib/selenium/webdriver/navigation.rb
selenium-webdriver-0.0.16 common/src/rb/lib/selenium/webdriver/navigation.rb
selenium-webdriver-0.0.15 common/src/rb/lib/selenium/webdriver/navigation.rb
selenium-webdriver-0.0.14 common/src/rb/lib/selenium/webdriver/navigation.rb
selenium-webdriver-0.0.13 common/src/rb/lib/selenium/webdriver/navigation.rb
selenium-webdriver-0.0.12 common/src/rb/lib/selenium/webdriver/navigation.rb
selenium-webdriver-0.0.11 common/src/rb/lib/selenium/webdriver/navigation.rb
selenium-webdriver-0.0.10 common/src/rb/lib/selenium/webdriver/navigation.rb