Class
Selenium::WebPage
In:
lib/selenium/web_page.rb
Parent:
Object
Class that models a web page with a
title
Methods
alert
alert_message
alert_present?
button
capture_page
capture_screen
click
click_wait
close
context_menu
double_click
element
element_locator
element_present?
ensure_present
enter
file_upload
fire_event
focus
html
key
key_down
key_press
key_up
link
new
open_page
present?
speed
speed=
text
text_area
text_field
text_present?
title
to_s
upload
value
wait_for_load
wait_until
Attributes
browser
[R]
interval_millis
[RW]
timeout
[RW]
Public Class methods
new
(browser, expected_title = nil)
Public Instance methods
alert
()
alert_message
()
alert_present?
()
button
(how, what=nil)
capture_page
(file)
capture_screen
(file)
click
(locator)
click_wait
(locator)
close
()
context_menu
(locator)
double_click
(locator)
element
(how, what=nil)
element_locator
(how, what=nil)
element_present?
(locator)
ensure_present
()
enter
(locator, text)
enter
the
text
to the
element
found by locator
file_upload
(how, what)
fire_event
(locator, event)
focus
(locator)
html
()
key
(key)
key_down
(key)
key_press
(locator, key)
key_up
(key)
link
(how, what=nil)
open_page
(url)
present?
()
speed
()
speed=
(value)
text
(locator)
text_area
(how, what=nil)
text_field
(how, what=nil)
text_present?
(text)
title
()
to_s
()
upload
(locator, file)
value
(locator)
wait_for_load
()
wait_until
(message, &block)
[Validate]