Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: chrome/test/webdriver/error_codes.h

Issue 3064012: Base implementation of WebDriver for Chrome. This checkin includes... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/webdriver/dispatch.cc ('k') | chrome/test/webdriver/keymap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_TEST_WEBDRIVER_ERROR_CODES_H_
6 #define CHROME_TEST_WEBDRIVER_ERROR_CODES_H_
7
8 namespace webdriver {
9 // These are the error codes defined in the WebDriver wire protcol. For more
10 // information, see
11 // http://code.google.com/p/selenium/wiki/JsonWireProtocol#Response_Status_Codes
12 enum ErrorCode {
13 kSuccess = 0,
14 kNoSuchElement = 7,
15 kNoSuchFrame = 8,
16 kUnknownCommand = 9,
17 kStaleElementReference = 10,
18 kElementNotVisible = 11,
19 kInvalidElementState = 12,
20 kUnknownError = 13,
21 kElementNotSelectable = 15,
22 kXPathLookupError = 19,
23 kNoSuchWindow = 23,
24 kInvalidCookieDomain = 24,
25 kUnableToSetCookie = 25,
26 kSeeOther = 303,
27 kBadRequest = 400,
28 kSessionNotFound = 404,
29 kMethodNotAllowed = 405,
30 };
31 } // namespace webdriver
32 #endif // CHROME_TEST_WEBDRIVER_ERROR_CODES_H_
33
OLDNEW
« no previous file with comments | « chrome/test/webdriver/dispatch.cc ('k') | chrome/test/webdriver/keymap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698