Update readme.md

This commit is contained in:
jvelilla
2013-05-08 10:20:48 -03:00
parent b777e81ab1
commit 15782c7795

View File

@@ -20,7 +20,8 @@ WARNING this API is still under development, and maybe it will change
java -jar selenium-server-standalone-2.32.0.jar java -jar selenium-server-standalone-2.32.0.jar
-Dwebdriver.chrome.driver=%PATH_TO%\chromedriver.exe -Dwebdriver.ie.driver=%PATH_TO%\IEDriverServer.exe -Dwebdriver.chrome.driver=%PATH_TO%\chromedriver.exe -Dwebdriver.ie.driver=%PATH_TO%\IEDriverServer.exe
## Getting Started Selenium-WebDriver API (Eiffel binding only support (for now) RemoteWebDriver) ## Getting Started Selenium-WebDriver API
(Eiffel binding only support (for now) RemoteWebDriver)
The examples and guide are based on http://docs.seleniumhq.org/docs/03_webdriver.jsp#introducing-the-selenium-webdriver-api-by-example The examples and guide are based on http://docs.seleniumhq.org/docs/03_webdriver.jsp#introducing-the-selenium-webdriver-api-by-example
WebDriver is a tool for automating web application testing, and in particular to verify that they work as expected. WebDriver is a tool for automating web application testing, and in particular to verify that they work as expected.
@@ -75,12 +76,20 @@ WebDriver is a tool for automating web application testing, and in particular to
### Selenium-WebDriver API Commands and Operations ### Selenium-WebDriver API Commands and Operations
Fetching a Page ##### Fetching a Page
The first thing you<EFBFBD>re likely to want to do with WebDriver is navigate to a page. The first thing you are likely to want to do with WebDriver is navigate to a page.
web_driver.to_url ("http://www.google.com/") web_driver.to_url ("http://www.google.com/")
##### Locating UI Elements (WebElements)
###### By ID
Example of how to find an element that looks like this:
<div id="head">...</div>
Eiffel Code
web_driver.find_element ((create{SE_BY}).id ("head"))
### Locating Elements ### Locating Elements