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

Issue 3643002: Implemnts the commands in webdriver to preform searching of elements on a page. (Closed)

Created:
10 years, 2 months ago by Joe
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Implemnts the commands in webdriver to preform searching of elements on a page. /session/:sessionId/timeouts/implicit_wait /session/:sessionId/element /session/:sessionId/elements /session/:sessionId/element/:id/element /session/:sessionId/element/:id/elements BUG=none TEST=webdriver_remote_tests.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70107

Patch Set 1 #

Patch Set 2 : update #

Total comments: 7

Patch Set 3 : update #

Total comments: 11

Patch Set 4 : fixed some code review issues #

Patch Set 5 : update #

Patch Set 6 : fix for windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -18 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/test/webdriver/commands/find_element_commands.h View 1 2 3 1 chunk +74 lines, -0 lines 0 comments Download
A chrome/test/webdriver/commands/find_element_commands.cc View 1 2 3 4 1 chunk +111 lines, -0 lines 0 comments Download
A chrome/test/webdriver/commands/implicit_wait_command.h View 1 2 3 4 5 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/test/webdriver/commands/implicit_wait_command.cc View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
M chrome/test/webdriver/server.cc View 1 2 3 4 5 4 chunks +13 lines, -4 lines 0 comments Download
M chrome/test/webdriver/webdriver_remote_tests.py View 1 2 3 4 4 chunks +60 lines, -14 lines 0 comments Download
M third_party/webdriver/py/selenium/remote/webdriver/WebDriver.py View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/webdriver/py/selenium/remote/webdriver/command.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/webdriver/py/selenium/remote/webdriver/remote_connection.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Paweł Hajdan Jr.
http://codereview.chromium.org/3643002/diff/2001/3002 File chrome/test/webdriver/commands/find_element_commands.cc (right): http://codereview.chromium.org/3643002/diff/2001/3002#newcode22 chrome/test/webdriver/commands/find_element_commands.cc:22: kInternalServerError); nit: align http://codereview.chromium.org/3643002/diff/2001/3002#newcode103 chrome/test/webdriver/commands/find_element_commands.cc:103: PlatformThread::Sleep(250); // Prevent a ...
10 years, 1 month ago (2010-11-09 11:19:32 UTC) #1
Joe
http://codereview.chromium.org/3643002/diff/2001/chrome/test/webdriver/commands/find_element_commands.cc File chrome/test/webdriver/commands/find_element_commands.cc (right): http://codereview.chromium.org/3643002/diff/2001/chrome/test/webdriver/commands/find_element_commands.cc#newcode22 chrome/test/webdriver/commands/find_element_commands.cc:22: kInternalServerError); On 2010/11/09 11:19:32, Paweł Hajdan Jr. wrote: > ...
10 years, 1 month ago (2010-11-10 02:37:05 UTC) #2
Joe
http://codereview.chromium.org/3643002/diff/2001/chrome/test/webdriver/commands/implicit_wait_command.h File chrome/test/webdriver/commands/implicit_wait_command.h (right): http://codereview.chromium.org/3643002/diff/2001/chrome/test/webdriver/commands/implicit_wait_command.h#newcode33 chrome/test/webdriver/commands/implicit_wait_command.h:33: int wait_; On 2010/11/09 11:19:32, Paweł Hajdan Jr. wrote: ...
10 years, 1 month ago (2010-11-10 06:57:23 UTC) #3
Paweł Hajdan Jr.
http://codereview.chromium.org/3643002/diff/2001/chrome/test/webdriver/commands/find_element_commands.cc File chrome/test/webdriver/commands/find_element_commands.cc (right): http://codereview.chromium.org/3643002/diff/2001/chrome/test/webdriver/commands/find_element_commands.cc#newcode103 chrome/test/webdriver/commands/find_element_commands.cc:103: PlatformThread::Sleep(250); // Prevent a busy loop that eats the ...
10 years, 1 month ago (2010-11-10 12:18:44 UTC) #4
John Grabowski
http://codereview.chromium.org/3643002/diff/16001/chrome/test/webdriver/commands/find_element_commands.cc File chrome/test/webdriver/commands/find_element_commands.cc (right): http://codereview.chromium.org/3643002/diff/16001/chrome/test/webdriver/commands/find_element_commands.cc#newcode46 chrome/test/webdriver/commands/find_element_commands.cc:46: root_element_id_ = GetPathVariable(4); what happens if we don't have ...
10 years, 1 month ago (2010-11-11 21:43:06 UTC) #5
Joe
Before vacation I worked at seeing the work at changing the find element to use ...
10 years ago (2010-11-30 12:07:02 UTC) #6
Paweł Hajdan Jr.
Well, can we at least make the loop wait for DOM to change instead of ...
10 years ago (2010-11-30 18:23:37 UTC) #7
shs_google.com
Which existing mechanism are you proposing Joe hooks into? I'm not sure that one exists ...
10 years ago (2010-12-01 11:33:27 UTC) #8
Paweł Hajdan Jr.
On Wed, Dec 1, 2010 at 12:33, Simon Stewart <shs@google.com> wrote: > Which existing mechanism ...
10 years ago (2010-12-01 15:24:48 UTC) #9
shs_google.com
On Wed, Dec 1, 2010 at 3:24 PM, Paweł Hajdan, Jr. <phajdan.jr@chromium.org> wrote: > On ...
10 years ago (2010-12-01 19:57:28 UTC) #10
Paweł Hajdan Jr.
On Wed, Dec 1, 2010 at 20:57, Simon Stewart <shs@google.com> wrote: > On Wed, Dec ...
10 years ago (2010-12-01 20:54:20 UTC) #11
shs_google.com
On Wed, Dec 1, 2010 at 8:53 PM, Paweł Hajdan, Jr. <phajdan.jr@chromium.org> wrote: > On ...
10 years ago (2010-12-02 10:30:25 UTC) #12
Paweł Hajdan Jr.
On Thu, Dec 2, 2010 at 11:30, Simon Stewart <shs@google.com> wrote: > You've yet to ...
10 years ago (2010-12-02 11:34:20 UTC) #13
Paweł Hajdan Jr.
I've just asked Darin Fisher on IM, and he also mentioned DOM mutation events. It ...
10 years ago (2010-12-02 18:14:55 UTC) #14
Joe
The situation you have described is not what Webdriver is designed for and I think ...
10 years ago (2010-12-02 23:41:04 UTC) #15
Paweł Hajdan Jr.
On Fri, Dec 3, 2010 at 00:40, Joe Mikhail <jmikhail@google.com> wrote: > The situation you ...
10 years ago (2010-12-03 11:00:14 UTC) #16
Joe
Could you explain which situation are you referring to? The scenario of "Consider the sequence ...
10 years ago (2010-12-06 06:43:41 UTC) #17
Paweł Hajdan Jr.
On Mon, Dec 6, 2010 at 07:43, Joe Mikhail <jmikhail@google.com> wrote: > Could you explain ...
10 years ago (2010-12-06 09:10:24 UTC) #18
mal
Since this isn't being used on the waterfall, I don't think it's critical to hold ...
10 years ago (2010-12-21 22:41:44 UTC) #19
Paweł Hajdan Jr.
On Tue, Dec 21, 2010 at 23:41, <mal@google.com> wrote: > Since this isn't being used ...
10 years ago (2010-12-22 08:20:43 UTC) #20
Peter Kasting
Win trybot compile failed, yet you landed anyway and broke the tree? Bad form.
10 years ago (2010-12-23 01:37:14 UTC) #21
John Grabowski
You are correct this was bad form. Nevertheless, Joe was around and reverted immediately. jrg ...
10 years ago (2010-12-23 01:39:18 UTC) #22
Peter Kasting
Yes, thank you for the very fast revert :)
10 years ago (2010-12-23 01:39:58 UTC) #23
Joe
10 years ago (2010-12-23 01:41:06 UTC) #24
Sorry I hit control C and canceled the submit into the tree, since it
asked for my email I thought it didn't go trough.

On Wed, Dec 22, 2010 at 5:39 PM,  <pkasting@chromium.org> wrote:
> Yes, thank you for the very fast revert :)
>
> http://codereview.chromium.org/3643002/
>

Powered by Google App Engine
This is Rietveld 408576698