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

Side by Side Diff: chrome/test/chromedriver/commands.h

Issue 11884058: [chromedriver] Implement commands: findChildElement, findChildElements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_CHROMEDRIVER_COMMANDS_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_COMMANDS_H_
6 #define CHROME_TEST_CHROMEDRIVER_COMMANDS_H_ 6 #define CHROME_TEST_CHROMEDRIVER_COMMANDS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 Session* session, 75 Session* session,
76 const base::DictionaryValue& params, 76 const base::DictionaryValue& params,
77 scoped_ptr<base::Value>* value); 77 scoped_ptr<base::Value>* value);
78 78
79 // Search for multiple elements on the page, starting from the document root. 79 // Search for multiple elements on the page, starting from the document root.
80 Status ExecuteFindElements( 80 Status ExecuteFindElements(
81 Session* session, 81 Session* session,
82 const base::DictionaryValue& params, 82 const base::DictionaryValue& params,
83 scoped_ptr<base::Value>* value); 83 scoped_ptr<base::Value>* value);
84 84
85 // Search for an element on the page, starting from the given element.
86 Status ExecuteFindChildElement(
87 Session* session,
88 const base::DictionaryValue& params,
89 scoped_ptr<base::Value>* value);
90
91 // Search for multiple elements on the page, starting from the given element.
92 Status ExecuteFindChildElements(
93 Session* session,
94 const base::DictionaryValue& params,
95 scoped_ptr<base::Value>* value);
96
85 // Configure the amount of time that a particular type of operation can execute 97 // Configure the amount of time that a particular type of operation can execute
86 // for before they are aborted and a timeout error is returned to the client. 98 // for before they are aborted and a timeout error is returned to the client.
87 Status ExecuteSetTimeout( 99 Status ExecuteSetTimeout(
88 Session* session, 100 Session* session,
89 const base::DictionaryValue& params, 101 const base::DictionaryValue& params,
90 scoped_ptr<base::Value>* value); 102 scoped_ptr<base::Value>* value);
91 103
92 #endif // CHROME_TEST_CHROMEDRIVER_COMMANDS_H_ 104 #endif // CHROME_TEST_CHROMEDRIVER_COMMANDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698