Sha256: a43b8493d93c66e4d218019e6ed08fe8cfcb26bcf7474e2812b040919f1b3701

Contents?: true

Size: 323 Bytes

Versions: 3

Compression:

Stored size: 323 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

3 entries across 3 versions & 1 rubygems

Version Path
ruby_raider-0.2.2 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.2.1 lib/generators/templates/automation/confirmation_page.tt
ruby_raider-0.2.0 lib/generators/templates/automation/confirmation_page.tt