Sha256: 279c675798e3bb0945c7c0266d971698e4421df94ad008b9812baf553b68013e

Contents?: true

Size: 325 Bytes

Versions: 18

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

require_relative '../abstract/abstract_page'

class ConfirmationPage < AbstractPage
  #Values

  def login_message
    @driver.wait { message_element }.text
  end

  private

  # Elements

  def message_element
    @driver.find_element(accessibility_id: 'You are logged in as alice')
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ruby_raider-0.4.0 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.3.9 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.3.8 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.3.7 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.3.6 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.3.5 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.3.4 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.3.3 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.3.2 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.3.1 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.3.0 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.2.9 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.2.8 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.2.7 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.2.6 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.2.5 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.2.4 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.2.3 lib/generators/templates/automation/confirmation_page.tt