Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
1 These atoms are generated from the selenium trunk. They are minified versions of what's in the trunk,
2 optimized to run on Firefox. To generate them, clone the repo:
4 svn checkout http://selenium.googlecode.com/svn/trunk/ selenium-read-only
6 then run the Google closure compiler and specify which atom you'd like to get.
7 For example, this will generate the "get_text" atom:
9 cd selenium-read-only
10 ./go //javascript/webdriver/atoms:get_text:firefox
12 This generates the atom, which is a function. You'll need to assign that function to a variable of your choice
13 which you can then import, i.e.: you'll need to modify the atom with a variable assignment:
15 var myVar = <atom code>
17 You can now import this atom and call it with myVar(). Please note the name of the function as a comment above this line to help readability in the atoms file.
19 For more information on atoms, refer to http://code.google.com/p/selenium/wiki/AutomationAtoms#Atoms_Summary
21 Currently bundled atoms (please update as you add more):
22 - clearElement
23 - click
24 - getAttributeValue
25 - getElementText
26 - isElementDisplayed
27 - isElementEnabled
28 - isElementSelected
29 - sendKeysToElement/type