Update readme.md

This commit is contained in:
jvelilla
2013-05-23 07:52:30 -03:00
parent c741e41597
commit caac696465

View File

@@ -28,17 +28,23 @@ WebDriver is a tool for automating web application testing, and in particular to
class
EXAMPLE_SEARCH
inherit
ANY
redefine
default_create
end
feature
default_create
do
search
end
feature -- Example
search
local
web_driver: WEB_DRIVER
@@ -61,7 +67,6 @@ WebDriver is a tool for automating web application testing, and in particular to
-- Now submit the form. WebDriver will find the form for us from the element
l_element.submit
end
if attached web_driver.get_page_tile as l_title then
print ("%NPage title is:" + l_title)
@@ -71,8 +76,6 @@ WebDriver is a tool for automating web application testing, and in particular to
-- Wait for the page to load, timeout after 10 seconds
create wait.make (web_driver, 10)
wait.until_when (agent expected_title(web_driver, "Eiffel Room"))
if attached web_driver.get_page_tile as l_title then
print ("%NPage title is:" + l_title)
end
@@ -87,7 +90,6 @@ WebDriver is a tool for automating web application testing, and in particular to
Result := True
end
end
end