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

Issue 2375613002: Fix Chromedriver Issue 749

Created:
4 years, 2 months ago by Rahul Kavalapara
Modified:
3 years, 5 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bug Fix for chromedriver issue 749 For android devices, we are currently looking for the default devtools socket which is "webview_devtools_remote_pid". Based on chrome browser implementation, we are currently looking for the packages devtools_remote socket instead of the default socket. BUG=chromedriver:749

Patch Set 1 #

Patch Set 2 : Fix for chromedriver issue 749 #

Total comments: 26

Patch Set 3 : Fix for chromedriver issue 749 #

Patch Set 4 : Bug Fix for chromedriver issue 749 #

Total comments: 3

Patch Set 5 : Bug Fix for chromedriver issue 749 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -5 lines) Patch
M AUTHORS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/chromedriver/chrome/adb.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/chrome/adb_impl.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/chrome/adb_impl.cc View 1 2 3 4 1 chunk +61 lines, -0 lines 1 comment Download
M chrome/test/chromedriver/chrome/device_manager.cc View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/test/chromedriver/chrome/device_manager_unittest.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (13 generated)
Rahul Kavalapara
Hello I'd like you to review my code
4 years, 2 months ago (2016-09-27 14:37:14 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2375613002/1
4 years, 2 months ago (2016-09-27 19:00:45 UTC) #9
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 2 months ago (2016-09-27 19:00:46 UTC) #11
samuong
Thanks Rahul. I'm currently out of the office so I won't get a chance to ...
4 years, 2 months ago (2016-09-27 22:59:57 UTC) #12
samuong
https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb.h File chrome/test/chromedriver/chrome/adb.h (right): https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb.h#newcode38 chrome/test/chromedriver/chrome/adb.h:38: std::string* device_socket) = 0; indent lines 37-38 so that ...
4 years, 2 months ago (2016-10-03 18:50:40 UTC) #15
Rahul Kavalapara
Samuong. Thank you for your review. I will send another patch for indentations. Regarding your ...
4 years, 2 months ago (2016-10-03 22:15:52 UTC) #16
Rahul Kavalapara
https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb_impl.cc File chrome/test/chromedriver/chrome/adb_impl.cc (right): https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb_impl.cc#newcode254 chrome/test/chromedriver/chrome/adb_impl.cc:254: if (fields[3] != "00010000" || fields[5] != "01") On ...
4 years, 2 months ago (2016-10-04 01:18:04 UTC) #17
Rahul Kavalapara
https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb.h File chrome/test/chromedriver/chrome/adb.h (right): https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb.h#newcode38 chrome/test/chromedriver/chrome/adb.h:38: std::string* device_socket) = 0; On 2016/10/03 18:50:40, samuong wrote: ...
4 years, 2 months ago (2016-10-05 08:06:42 UTC) #18
samuong
https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb_impl.cc File chrome/test/chromedriver/chrome/adb_impl.cc (right): https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb_impl.cc#newcode254 chrome/test/chromedriver/chrome/adb_impl.cc:254: if (fields[3] != "00010000" || fields[5] != "01") On ...
4 years, 2 months ago (2016-10-05 17:29:50 UTC) #19
Rahul Kavalapara
https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb_impl.cc File chrome/test/chromedriver/chrome/adb_impl.cc (right): https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb_impl.cc#newcode254 chrome/test/chromedriver/chrome/adb_impl.cc:254: if (fields[3] != "00010000" || fields[5] != "01") On ...
4 years, 2 months ago (2016-10-05 18:41:53 UTC) #20
Rahul Kavalapara
Samuong, I would like to commit this change if you don't have any more comments. ...
4 years, 2 months ago (2016-10-07 15:20:37 UTC) #21
samuong
Can you make sure that the "description" field in "edit issue" is written according to ...
4 years, 2 months ago (2016-10-12 05:18:35 UTC) #23
Rahul Kavalapara
https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb_impl.cc File chrome/test/chromedriver/chrome/adb_impl.cc (right): https://codereview.chromium.org/2375613002/diff/20001/chrome/test/chromedriver/chrome/adb_impl.cc#newcode254 chrome/test/chromedriver/chrome/adb_impl.cc:254: if (fields[3] != "00010000" || fields[5] != "01") On ...
4 years, 2 months ago (2016-10-12 08:23:04 UTC) #25
Rahul Kavalapara
Ping !
4 years, 2 months ago (2016-10-15 01:17:49 UTC) #26
Rahul Kavalapara
Please let me know if anything else is needed here.
4 years, 2 months ago (2016-10-19 03:56:46 UTC) #27
samuong
https://codereview.chromium.org/2375613002/diff/60001/chrome/test/chromedriver/chrome/adb_impl.cc File chrome/test/chromedriver/chrome/adb_impl.cc (right): https://codereview.chromium.org/2375613002/diff/60001/chrome/test/chromedriver/chrome/adb_impl.cc#newcode248 chrome/test/chromedriver/chrome/adb_impl.cc:248: nit: no need for a blank line here https://codereview.chromium.org/2375613002/diff/60001/chrome/test/chromedriver/chrome/adb_impl.cc#newcode263 ...
4 years, 2 months ago (2016-10-20 04:40:40 UTC) #28
Rahul Kavalapara
4 years, 2 months ago (2016-10-22 18:34:12 UTC) #29
Rahul Kavalapara
Samuong, Can this be merged ? -- Rahul
4 years, 1 month ago (2016-11-14 18:21:52 UTC) #30
gmanikpure
On 2016/11/14 18:21:52, Rahul Kavalapara wrote: > Samuong, > > Can this be merged ? ...
4 years, 1 month ago (2016-11-14 18:23:53 UTC) #31
Danqa
On 2016/11/14 18:23:53, gmanikpure wrote: > On 2016/11/14 18:21:52, Rahul Kavalapara wrote: > > Samuong, ...
4 years ago (2016-12-01 15:22:57 UTC) #32
mayureshshirodkark
On 2016/10/20 04:40:40, samuong wrote: > https://codereview.chromium.org/2375613002/diff/60001/chrome/test/chromedriver/chrome/adb_impl.cc > File chrome/test/chromedriver/chrome/adb_impl.cc (right): > > https://codereview.chromium.org/2375613002/diff/60001/chrome/test/chromedriver/chrome/adb_impl.cc#newcode248 > ...
3 years, 11 months ago (2017-01-04 02:36:48 UTC) #33
pandabat
Just to echo Danqa's comments above, many users are waiting for this as it's causing ...
3 years, 9 months ago (2017-03-23 11:31:24 UTC) #34
johnchen
My apology for taking so long to respond to this review. Sam no longer works ...
3 years, 5 months ago (2017-07-12 21:54:43 UTC) #36
Rahul Kavalapara
John, It's been a while I have sent this PR. Bunch of the code is ...
3 years, 5 months ago (2017-07-13 05:20:28 UTC) #37
johnchen
On 2017/07/13 05:20:28, Rahul Kavalapara wrote: > It's been a while I have sent this ...
3 years, 5 months ago (2017-07-13 15:03:19 UTC) #38
Rahul Kavalapara
I will take a look at this later today, Is there any specific command for ...
3 years, 5 months ago (2017-07-13 21:33:05 UTC) #39
johnchen
3 years, 5 months ago (2017-07-14 01:19:14 UTC) #40
Here is one way to make sure that ChromeDriver works correctly with WebView:

1. Create a Chromium build configuration with target_os="android" (unless you
have one already).

2. Under that configuration, use ninja to build target
chromedriver_webview_shell_apk.

3. Install resulting ChromeDriverWebViewShell.apk onto the device.

4. Run the following command:
chrome/test/chromedriver/test/run_py_tests.py
--chromedriver=/path/to/chromedriver
--android-package=chromedriver_webview_shell

Powered by Google App Engine
This is Rietveld 408576698