Sha256: 9180d50e971932a80167dc5bf57daeb3bfb61ce8176f8f6ef2345212b439ea51

Contents?: true

Size: 694 Bytes

Versions: 3

Compression:

Stored size: 694 Bytes

Contents

# Navigation

=== "Ferrum"

    ```ruby
    class DummyJob < Wayfarer::Base
      route { to :index }

      def index
        agent.goto("https://example.com")
        agent.back
        agent.forward
      end
    end
    ```

=== "Selenium"

    ```ruby
    class DummyJob < Wayfarer::Base
      route { to :index }

      def index
        agent.navigate.to("https://example.com")
        agent.navigate.back
        agent.navigate.forward
      end
    end
    ```

=== "Capybara"

    ```ruby
    class DummyJob < Wayfarer::Base
      route { to :index }

      def index
        agent.visit("https://example.com")
        agent.go_back
        agent.go_forward
      end
    end
    ```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wayfarer-0.4.6 docs/cookbook/navigation.md
wayfarer-0.4.5 docs/cookbook/navigation.md
wayfarer-0.4.4 docs/cookbook/navigation.md