Sha256: 388209b1a89c0d27e5039817c5a1ad5095c9c1e77682842e7754e065797bbbf2

Contents?: true

Size: 481 Bytes

Versions: 1

Compression:

Stored size: 481 Bytes

Contents

module Symbiont
  module Platforms
    module SeleniumWebDriver

      class PlatformObject

        def initialize(browser)
          @browser = browser
        end

        # Platform method to make a call to a specified URL.
        # See Symbiont::Generators#url_is
        def visit(url)
          @browser.navigate.to(url)
        end

      end # class: PlatformObject

    end # module: SeleniumWebDriver
  end # module: Platforms
end # module: Symbiont

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
symbiont-0.0.1 lib/symbiont/platform_selenium/platform_object.rb