module Symbiote::Pages

Public Instance Methods

asserted_title() click to toggle source
# File lib/symbiote/pages.rb, line 45
def asserted_title
  self.class.asserted_title
end
asserted_url() click to toggle source
# File lib/symbiote/pages.rb, line 41
def asserted_url
  self.class.asserted_url
end
goto(url = nil)
Alias for: visit
navigate_to(url = nil)
Alias for: visit
perform(url = nil)
Alias for: visit
position(x, y) click to toggle source
# File lib/symbiote/pages.rb, line 53
def position(x, y)
  browser.window.move_to(x, y)
end
resize(width, height) click to toggle source
# File lib/symbiote/pages.rb, line 49
def resize(width, height)
  browser.window.resize_to(width, height)
end
title() click to toggle source
# File lib/symbiote/pages.rb, line 61
def title
  browser.title
end
url() click to toggle source
# File lib/symbiote/pages.rb, line 57
def url
  browser.url
end
view(url = nil)
Alias for: visit
visit(url = nil) click to toggle source
# File lib/symbiote/pages.rb, line 29
def visit(url = nil)
  no_url_provided if url.nil? && asserted_url.nil?
  browser.goto(url) unless url.nil?
  browser.goto(asserted_url) if url.nil?
  self
end
Also aliased as: perform, view, navigate_to, goto