Sha256: 092b9ac2bdc4ded378023116375feb65cce9131c86526035c3e7bebf89fafee1

Contents?: true

Size: 355 Bytes

Versions: 18

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

require_relative '../abstract/page'

class Home < Page

  # Actions

  def go_to_backpack_pdp
    driver.wait { backpack_image }.click
  end

  private

  # Elements

  def backpack_image
    <%= ERB.new(File.read(File.expand_path('./partials/home_page_selector.tt', __dir__)), trim_mode: '-').result(binding) -%>
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ruby_raider-1.1.1 lib/generators/automation/templates/home.tt
ruby_raider-1.1.0 lib/generators/automation/templates/home.tt
ruby_raider-1.0.9 lib/generators/automation/templates/home.tt
ruby_raider-1.0.8 lib/generators/automation/templates/home.tt
ruby_raider-1.0.7 lib/generators/automation/templates/home.tt
ruby_raider-1.0.6 lib/generators/automation/templates/home.tt
ruby_raider-1.0.5 lib/generators/automation/templates/home.tt
ruby_raider-1.0.4 lib/generators/automation/templates/home.tt
ruby_raider-1.0.3 lib/generators/automation/templates/home.tt
ruby_raider-1.0.2 lib/generators/automation/templates/home.tt
ruby_raider-1.0.1 lib/generators/automation/templates/home.tt
ruby_raider-1.0.0 lib/generators/automation/templates/home.tt
ruby_raider-0.9.9 lib/generators/automation/templates/home.tt
ruby_raider-0.9.8 lib/generators/automation/templates/home.tt
ruby_raider-0.9.7 lib/generators/automation/templates/home.tt
ruby_raider-0.9.6 lib/generators/automation/templates/home.tt
ruby_raider-0.9.5 lib/generators/automation/templates/home.tt
ruby_raider-0.9.4 lib/generators/automation/templates/home.tt