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

Issue 7523060: Let pyauto create an attached webdriver instance to manipulate web pages. (Closed)

Created:
9 years, 4 months ago by kkania
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Nirnimesh, John Grabowski, kkania, anantha, dyu1, dennis_jeffrey
Visibility:
Public.

Description

Let pyauto create an attached webdriver instance to manipulate web pages. BUG=49379 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96556

Patch Set 1 : ... #

Total comments: 8

Patch Set 2 : move bools into struct #

Total comments: 31

Patch Set 3 : fixed comments #

Patch Set 4 : rebase #

Patch Set 5 : address nirnimesh' latest comments #

Total comments: 3

Patch Set 6 : move ScopedAllowIO to automation func #

Patch Set 7 : rebase (ProxyLauncher third option no longer required) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+348 lines, -152 lines) Patch
M chrome/browser/automation/testing_automation_provider.h View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/test/automation/automation_proxy_uitest.cc View 1 2 3 4 5 6 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/test/automation/proxy_launcher.h View 1 2 3 4 5 6 3 chunks +10 lines, -6 lines 0 comments Download
M chrome/test/automation/proxy_launcher.cc View 1 2 3 4 5 6 3 chunks +20 lines, -8 lines 0 comments Download
M chrome/test/functional/PYAUTO_TESTS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/functional/pyauto_webdriver.py View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/test/pyautolib/chrome_driver_factory.py View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 4 5 6 4 chunks +37 lines, -25 lines 0 comments Download
A chrome/test/pyautolib/pyauto_paths.py View 1 2 3 1 chunk +57 lines, -0 lines 0 comments Download
M chrome/test/ui/ui_test.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/webdriver/automation.h View 1 2 3 4 5 6 3 chunks +11 lines, -11 lines 0 comments Download
M chrome/test/webdriver/automation.cc View 1 2 3 4 5 6 3 chunks +50 lines, -59 lines 0 comments Download
M chrome/test/webdriver/commands/create_session.cc View 1 2 3 4 5 6 6 chunks +19 lines, -17 lines 0 comments Download
M chrome/test/webdriver/session.h View 1 2 3 4 5 6 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/test/webdriver/session.cc View 1 2 3 4 5 6 3 chunks +4 lines, -15 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
kkania
hnguyen: chrome/test/webdriver nirnimesh: all else
9 years, 4 months ago (2011-07-29 19:09:44 UTC) #1
Huyen
LGTM on webdriver side
9 years, 4 months ago (2011-07-29 20:28:36 UTC) #2
Nirnimesh
Since this is a rather large change, I'll take some time to respond. Meanwhile adding ...
9 years, 4 months ago (2011-07-29 20:47:13 UTC) #3
Paweł Hajdan Jr.
Drive-by with automation comments. Please always wait for my review, chrome/test/OWNERS. http://codereview.chromium.org/7523060/diff/3001/chrome/browser/automation/automation_provider.cc File chrome/browser/automation/automation_provider.cc (right): ...
9 years, 4 months ago (2011-07-29 20:48:38 UTC) #4
dtu
ProxyLauncher/AutomationProvider/PyAuto stuff LGTM, but also wait for phajdan.jr and nirnimesh. http://codereview.chromium.org/7523060/diff/3001/chrome/browser/automation/automation_provider.cc File chrome/browser/automation/automation_provider.cc (right): http://codereview.chromium.org/7523060/diff/3001/chrome/browser/automation/automation_provider.cc#newcode425 ...
9 years, 4 months ago (2011-07-29 21:57:30 UTC) #5
kkania
Pawel: do you want an owner to be put on all chrome/test changes? If so, ...
9 years, 4 months ago (2011-07-29 22:44:18 UTC) #6
Paweł Hajdan Jr.
Sorry, by "please always wait for my review, chrome/test/OWNERS." I meant "please do not commit ...
9 years, 4 months ago (2011-07-30 00:03:03 UTC) #7
Nirnimesh
Love this CL. Excited to see this coming. http://codereview.chromium.org/7523060/diff/13002/chrome/browser/automation/testing_automation_provider.h File chrome/browser/automation/testing_automation_provider.h (right): http://codereview.chromium.org/7523060/diff/13002/chrome/browser/automation/testing_automation_provider.h#newcode1157 chrome/browser/automation/testing_automation_provider.h:1157: // ...
9 years, 4 months ago (2011-08-01 19:21:24 UTC) #8
kkania
Pawel, I went ahead and created a new CL addressing the ScopedAllowIO in InitializeChannel and ...
9 years, 4 months ago (2011-08-02 15:10:44 UTC) #9
Nirnimesh
LGTM http://codereview.chromium.org/7523060/diff/13002/chrome/test/functional/pyauto_webdriver.py File chrome/test/functional/pyauto_webdriver.py (right): http://codereview.chromium.org/7523060/diff/13002/chrome/test/functional/pyauto_webdriver.py#newcode16 chrome/test/functional/pyauto_webdriver.py:16: self.assertEquals(1, driver.execute_script('return 1')) I wanted a real hello-world ...
9 years, 4 months ago (2011-08-02 18:07:13 UTC) #10
kkania
just need approval from Pawel now http://codereview.chromium.org/7523060/diff/13002/chrome/test/functional/pyauto_webdriver.py File chrome/test/functional/pyauto_webdriver.py (right): http://codereview.chromium.org/7523060/diff/13002/chrome/test/functional/pyauto_webdriver.py#newcode16 chrome/test/functional/pyauto_webdriver.py:16: self.assertEquals(1, driver.execute_script('return 1')) ...
9 years, 4 months ago (2011-08-02 23:19:19 UTC) #11
Paweł Hajdan Jr.
http://codereview.chromium.org/7523060/diff/20020/chrome/browser/automation/automation_provider.cc File chrome/browser/automation/automation_provider.cc (right): http://codereview.chromium.org/7523060/diff/20020/chrome/browser/automation/automation_provider.cc#newcode159 chrome/browser/automation/automation_provider.cc:159: base::ThreadRestrictions::ScopedAllowIO allow_io; My NAK on this still holds.
9 years, 4 months ago (2011-08-02 23:31:23 UTC) #12
kkania
http://codereview.chromium.org/7523060/diff/20020/chrome/browser/automation/automation_provider.cc File chrome/browser/automation/automation_provider.cc (right): http://codereview.chromium.org/7523060/diff/20020/chrome/browser/automation/automation_provider.cc#newcode159 chrome/browser/automation/automation_provider.cc:159: base::ThreadRestrictions::ScopedAllowIO allow_io; On 2011/08/02 23:31:24, Paweł Hajdan Jr. wrote: ...
9 years, 4 months ago (2011-08-03 17:38:00 UTC) #13
Paweł Hajdan Jr.
http://codereview.chromium.org/7523060/diff/20020/chrome/browser/automation/automation_provider.cc File chrome/browser/automation/automation_provider.cc (right): http://codereview.chromium.org/7523060/diff/20020/chrome/browser/automation/automation_provider.cc#newcode159 chrome/browser/automation/automation_provider.cc:159: base::ThreadRestrictions::ScopedAllowIO allow_io; On 2011/08/03 17:38:00, kkania wrote: > On ...
9 years, 4 months ago (2011-08-03 19:09:16 UTC) #14
Nirnimesh
Pawel, what is the race you are referring to here? If I understand correctly (and ...
9 years, 4 months ago (2011-08-04 00:44:54 UTC) #15
Paweł Hajdan Jr.
On 2011/08/04 00:44:54, Nirnimesh wrote: > Pawel, what is the race you are referring to ...
9 years, 4 months ago (2011-08-04 18:05:46 UTC) #16
Paweł Hajdan Jr.
Okay, so only remaining issue is ScopedAllowIO here. When it disappears from this CL, feel ...
9 years, 4 months ago (2011-08-05 17:51:32 UTC) #17
kkania
I started on a few changes to fix the ScopedAllowIO problem but found it was ...
9 years, 4 months ago (2011-08-10 20:48:05 UTC) #18
Paweł Hajdan Jr.
On 2011/08/10 20:48:05, kkania wrote: > I think allowing disk IO on the UI thread ...
9 years, 4 months ago (2011-08-11 22:36:57 UTC) #19
Paweł Hajdan Jr.
9 years, 4 months ago (2011-08-11 23:22:42 UTC) #20
LGTM

Powered by Google App Engine
This is Rietveld 408576698