class TheInternet::Page::Login

Login Page

Public Instance Methods

login() click to toggle source

@note Defined as +button :login+ Clicks login

# File lib/page/login.stub.rb, line 81
def login
  # This is a stub, used for indexing
end
login?() click to toggle source

@example

TheInternet::Page::Login.perform do |login|
  expect(login).to be_login
end

@return [Boolean] true if the login element is present on the page

# File lib/page/login.stub.rb, line 101
def login?
  # This is a stub, used for indexing
end
login_element() click to toggle source

@example

TheInternet::Page::Login.perform do |login|
  expect(login.login_element).to exist
end

@return [Watir::Button] The raw Button element

# File lib/page/login.stub.rb, line 92
def login_element
  # This is a stub, used for indexing
end
password() click to toggle source

@note Defined as +text_field :password+ @return [String] The text content or value of password

# File lib/page/login.stub.rb, line 45
def password
  # This is a stub, used for indexing
end
password=(value) click to toggle source

Set the value of password @example

TheInternet::Page::Login.perform do |login|
  login.password = 'value'
end

@param value [String] The value to set.

# File lib/page/login.stub.rb, line 56
def password=(value)
  # This is a stub, used for indexing
end
password?() click to toggle source

@example

TheInternet::Page::Login.perform do |login|
  expect(login).to be_password
end

@return [Boolean] true if the password element is present on the page

# File lib/page/login.stub.rb, line 74
def password?
  # This is a stub, used for indexing
end
password_element() click to toggle source

@example

TheInternet::Page::Login.perform do |login|
  expect(login.password_element).to exist
end

@return [Watir::TextField] The raw TextField element

# File lib/page/login.stub.rb, line 65
def password_element
  # This is a stub, used for indexing
end
username() click to toggle source

@note Defined as +text_field :username+ @return [String] The text content or value of username

# File lib/page/login.stub.rb, line 9
def username
  # This is a stub, used for indexing
end
username=(value) click to toggle source

Set the value of username @example

TheInternet::Page::Login.perform do |login|
  login.username = 'value'
end

@param value [String] The value to set.

# File lib/page/login.stub.rb, line 20
def username=(value)
  # This is a stub, used for indexing
end
username?() click to toggle source

@example

TheInternet::Page::Login.perform do |login|
  expect(login).to be_username
end

@return [Boolean] true if the username element is present on the page

# File lib/page/login.stub.rb, line 38
def username?
  # This is a stub, used for indexing
end
username_element() click to toggle source

@example

TheInternet::Page::Login.perform do |login|
  expect(login.username_element).to exist
end

@return [Watir::TextField] The raw TextField element

# File lib/page/login.stub.rb, line 29
def username_element
  # This is a stub, used for indexing
end