summaryrefslogtreecommitdiffstats
path: root/third_party/webdriver/README.chromium
diff options
context:
space:
mode:
authorkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 20:58:44 +0000
committerkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 20:58:44 +0000
commitbd6c46eaa5b9e3019c07d403c26cb908f699b8f5 (patch)
tree9b1da96bffedce0bbd5c14ee4dc11cd5ca6b7007 /third_party/webdriver/README.chromium
parentd9edd31291a2b2d1d8492305dfccfa963c0b24cf (diff)
downloadchromium_src-bd6c46eaa5b9e3019c07d403c26cb908f699b8f5.zip
chromium_src-bd6c46eaa5b9e3019c07d403c26cb908f699b8f5.tar.gz
chromium_src-bd6c46eaa5b9e3019c07d403c26cb908f699b8f5.tar.bz2
Updating src/third_party/webdriver/atoms.h with a new version of the file
generated from the WebDriver repository at r11446. There are several notable changes with this new version: * The atoms are no longer defined using wchar_t * The atoms are defined as multi-line strings instead of an array of strings, eliminating the need for unnecessary concatenations on each use. * The atoms constants have been moved into a new namespace (webdriver::atoms). * Previously, each atom defined a named JS function; now each atom defines an anonymous function, so the call pattern had to be adjusted slightly. With this change, we can enable the element finding functional tests (there are still some bugs with the child element finding tests that need to be tracked down). I've also disabled a page loading test because it is flaky in my client. BUG=none TEST=none Patch by jleyba@chromium.org. Original review at http://codereview.chromium.org/6524045 Review URL: http://codereview.chromium.org/6531003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/webdriver/README.chromium')
-rw-r--r--third_party/webdriver/README.chromium13
1 files changed, 9 insertions, 4 deletions
diff --git a/third_party/webdriver/README.chromium b/third_party/webdriver/README.chromium
index 2aa8a2d7..c567db5 100644
--- a/third_party/webdriver/README.chromium
+++ b/third_party/webdriver/README.chromium
@@ -15,9 +15,14 @@ Contents:
atoms.h
These atoms are generated by the webdriver team and are to be checked in
- manually. To generate the atoms use the code found in selenium tree:
- svn checkout http://selenium.googlecode.com/svn/trunk/ selenium-read-only
- and follow the instructions that are on the Selenium HQ website:
- http://seleniumhq.org/docs/
+ manually. The current version was generated from revision 11446.
+
+ To generate the atoms using the code found in selenium tree:
+ $ svn checkout http://selenium.googlecode.com/svn/trunk/ selenium-read-only
+ $ cd selenium-read-only
+ $ go //javascript/chrome-driver:atoms
+ $ cp build/javascript/chrome-driver/atoms.h \
+ <chromium_dir>/src/third_party/webdriver/atoms.h
+
The atoms.h file is only used directly in the chrome version of webdriver
found under the path src/chrome/test/webdriver.