summaryrefslogtreecommitdiffstats
path: root/chrome/test/chromedriver
Commit message (Collapse)AuthorAgeFilesLines
* Stop lint.py pulling in implicit dependencies via AndroidManifest.xmlagrieve2016-03-242-1/+1
| | | | | | | | | | | This will mean even fewer UnusedResource checks, but that is covered by: https://bugs.chromium.org/p/chromium/issues/detail?id=595810 BUG=597007 Review URL: https://codereview.chromium.org/1826563002 Cr-Commit-Position: refs/heads/master@{#382986}
* Replace usages of DEPRECATED_java_in_dir with java_filesagrieve2016-03-231-1/+1
| | | | | | | | BUG=484854 Review URL: https://codereview.chromium.org/1829823002 Cr-Commit-Position: refs/heads/master@{#382905}
* [chromedriver] Replace type from Runtime.executionContextCreated with ↵samuong2016-03-191-5/+18
| | | | | | | | | | | explicit isDefault. BUG=chromedriver:1339 TBR=stgao@chromium.org Review URL: https://codereview.chromium.org/1810053004 Cr-Commit-Position: refs/heads/master@{#382205}
* [chromedriver] Retry screenshots on Android.samuong2016-03-171-4/+4
| | | | | | | | | | | Previously only desktop screenshots were retried. This works around some flakiness we've observed in recent versions of Chrome for Android. More context (for Googlers only, sorry) is available at b/27644687. BUG= TBR=stgao@chromium.org Review URL: https://codereview.chromium.org/1809833002 Cr-Commit-Position: refs/heads/master@{#381808}
* [Chromedriver] Drop support for M47 and add M50.gmanikpure2016-03-173-3/+3
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1813813003 Cr-Commit-Position: refs/heads/master@{#381784}
* [ChromeDriver] Add nested frame xpath expression in order to switch to frame ↵gmanikpure2016-03-172-1/+16
| | | | | | | | | | present inside nested frameset. BUG=chromedriver:107 Review URL: https://codereview.chromium.org/1799183002 Cr-Commit-Position: refs/heads/master@{#381753}
* [chromedriver] Update svn repo url to the new git repo.samuong2016-03-151-3/+3
| | | | | | | | BUG=505555 Review URL: https://codereview.chromium.org/1804773002 Cr-Commit-Position: refs/heads/master@{#381292}
* [Chromedriver] Add chromeOptions.excludeSwitches for android chromegmanikpure2016-03-071-0/+2
| | | | | | | | BUG=chromedriver:1331 Review URL: https://codereview.chromium.org/1766113002 Cr-Commit-Position: refs/heads/master@{#379605}
* [Chromedriver] Enable testTouchLongPressElement on chromium android botgmanikpure2016-02-291-2/+0
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1751573002 Cr-Commit-Position: refs/heads/master@{#378295}
* [Chromedriver] Remove obsolete Chrome v44 specific negative filtergmanikpure2016-02-261-5/+0
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1745493002 Cr-Commit-Position: refs/heads/master@{#377955}
* chrome: Add out-of-line copy ctors for complex classes.vmpstr2016-02-268-0/+12
| | | | | | | | | | | | | This patch adds out of line copy constructors for classes that our clang-plugin considers heavy. This is an effort to enable copy constructor checks by default. BUG=436357 R=dcheng@chromium.org, thakis@chromium.org Review URL: https://codereview.chromium.org/1731483003 Cr-Commit-Position: refs/heads/master@{#377767}
* [Chromedriver] Disable testCanClickAlertInIframes on androidgmanikpure2016-02-261-0/+3
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1734233002 Cr-Commit-Position: refs/heads/master@{#377736}
* [Chromedriver] Replace dismiss alert with accept alert due to Issue26gmanikpure2016-02-261-1/+1
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1725303005 Cr-Commit-Position: refs/heads/master@{#377719}
* [chromedriver] Avoid running JS from NavigationTracker when a dialog is open.samuong2016-02-258-28/+80
| | | | | | | | BUG=chromedriver:1224 Review URL: https://codereview.chromium.org/1664043002 Cr-Commit-Position: refs/heads/master@{#377433}
* net: move IsLocalhost() function into url_util.htfarina2016-02-234-4/+0
| | | | | | | | | | | | | | This patch moves the last function in net_util.h into url_util.h. We are moving it there because it also operates on a URL part (host). BUG=488531 TEST=net_unittests --gtest_filter=UrlUtilTest.IsLocalhost R=eroman@chromium.org TBR=darin@chromium.org Review URL: https://codereview.chromium.org/1726693002 Cr-Commit-Position: refs/heads/master@{#377115}
* [Chromedriver] Enabling java tests ClickScrollingTest & WindowSwitchingTest ↵gmanikpure2016-02-101-3/+6
| | | | | | | | | | on android waterfall bots. BUG=chromedriver:1006 , chromedriver:1044 Review URL: https://codereview.chromium.org/1562803004 Cr-Commit-Position: refs/heads/master@{#374716}
* update obsolete code.google.com documentation linksmostynb2016-02-081-2/+2
| | | | | | | | | | | | | | | | This is a documentation-only change. Disabling presubmit checks, due to "noparent" settings for the following files: components/policy/resources/policy_templates.json content/common/font_config_ipc_linux.h BUG=567488 NOPRESUBMIT=true TBR=atwilson,dcheng Review URL: https://codereview.chromium.org/1592403002 Cr-Commit-Position: refs/heads/master@{#374213}
* [chromedriver] Fix broken test on Android.samuong2016-02-061-4/+3
| | | | | | | | | | | | | | | | | Make sure ChromeDriverLogTest.testDisablingDriverLogsSuppressesChromeDriverLog doesn't try to launch a desktop browser session when running on Android. The logic in ChromeDriverBaseTest.CreateDriver() does the right thing for Android, so use that instead of creating a driver directly. Common code between tests in ChromeDriverLogTest still need to be factored out into separate setUp and tearDown methods in a separate CL. BUG=chromedriver:1266 TBR=stgao@chromium.org Review URL: https://codereview.chromium.org/1672243002 Cr-Commit-Position: refs/heads/master@{#373967}
* [chromedriver] Ensure loggingPrefs is a dictionary in chromedriver test client.samuong2016-02-051-0/+3
| | | | | | | | | BUG=chromedriver:1266 TBR=stgao@chromium.org Review URL: https://codereview.chromium.org/1669343002 Cr-Commit-Position: refs/heads/master@{#373863}
* [chromedriver] Suppress driver logs from stderr log if session log level is ↵samuong2016-02-053-16/+37
| | | | | | | | | | 'OFF'. BUG=chromedriver:1266 Review URL: https://codereview.chromium.org/1668023002 Cr-Commit-Position: refs/heads/master@{#373686}
* Allow string::front() and back() and update the codebase to use back().pkasting2016-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | I searched for "length() - 1]", which won't find all potential sites to use back(), but should hit a reasonable number. These were all converted. I don't consider str.front() to be vastly more readable than str[0], so I made no effort to seek these out and change them. I did change code to use front() when it would make for better parallel structure with a place I was making use back(), e.g.: if (str[0] == 'x' && str[str.length() - 1] == 'y') { ...was transformed to: if (str.front() == 'x' && str.back() == 'y') { ...and not: if (str[0] == 'x' && str.back() == 'y') { I also added front() and back() methods to StringPiece so people wouldn't need to distinguish between string and StringPiece for these purposes. BUG=none TEST=none Review URL: https://codereview.chromium.org/1663253004 Cr-Commit-Position: refs/heads/master@{#373672}
* [chromedriver] Fix a flaky test.ahest2016-02-043-1/+28
| | | | | | | | | | The test was failing about 10% of runs in mac release build. BUG= Review URL: https://codereview.chromium.org/1640733003 Cr-Commit-Position: refs/heads/master@{#373665}
* Move gn _run target generation into test(). (RELAND)jbudorick2016-02-031-9/+0
| | | | | | | | | | | | | | This is a reland of https://codereview.chromium.org/1653003006/ Consolidating the _run targets into the test template should make them easier to maintain (and, eventually, remove). BUG=583694 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1662053002 Cr-Commit-Position: refs/heads/master@{#373385}
* Revert of Move gn _run target generation into test(). (patchset #1 id:1 of ↵dpranke2016-02-031-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1653003006/ ) Reason for revert: Broke angle_unittests_run, which doesn't follow the template: https://build.chromium.org/p/chromium.gpu.fyi/builders/GPU%20Linux%20Builder/builds/53646/steps/compile/logs/stdio Original issue's description: > Move gn _run target generation into test(). > > TBR=brettw@chromium.org > BUG= > CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel > > Committed: https://crrev.com/6b1b03783b81ea27bb521c02aa84b74f06d6f71a > Cr-Commit-Position: refs/heads/master@{#373232} TBR=phosek@chromium.org,brettw@chromium.org,jbudorick@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/1664653003 Cr-Commit-Position: refs/heads/master@{#373257}
* Move gn _run target generation into test().jbudorick2016-02-031-9/+0
| | | | | | | | | | TBR=brettw@chromium.org BUG= CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1653003006 Cr-Commit-Position: refs/heads/master@{#373232}
* [Chromedriver] Enabling testShadomDomStaleReference on Head & disabling it ↵gmanikpure2016-02-021-2/+4
| | | | | | | | | | on Linux & Mac. BUG=chromedriver:1302 Review URL: https://codereview.chromium.org/1660143002 Cr-Commit-Position: refs/heads/master@{#373074}
* [Chromedriver] Drop support for M46 and add M49.gmanikpure2016-01-293-3/+3
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1648703002 Cr-Commit-Position: refs/heads/master@{#372362}
* [chromedriver] Remove warning message for GetCurrentUrl.samuong2016-01-281-8/+0
| | | | | | | | BUG=chromedriver:1249 Review URL: https://codereview.chromium.org/1642773002 Cr-Commit-Position: refs/heads/master@{#371916}
* Change IPEndpoint::address() to return a net::IPAddressmartijn2016-01-271-1/+1
| | | | | | | | | | | | | | | This CL is part of the net::IPAddressNumber migration[1]. IPEndpoint::address() currently returns a net::IPAddressNumber but we need it to return a net::IPAddress. BUG=496258 TBR=scheib [1] https://code.google.com/p/chromium/issues/detail?id=496258#c10 Review URL: https://codereview.chromium.org/1565303002 Cr-Commit-Position: refs/heads/master@{#371750}
* [ChromeDriver] Release chromedriver version 2.21.gmanikpure2016-01-261-1/+1
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1633973002 Cr-Commit-Position: refs/heads/master@{#371451}
* [Chromedriver] Disabling testTouchLongPressElement Pytest on chromium ↵gmanikpure2016-01-261-0/+2
| | | | | | | | | | android bot BUG=579782 Review URL: https://codereview.chromium.org/1631093002 Cr-Commit-Position: refs/heads/master@{#371378}
* [chromedriver] Remove inactive background pages from window handles.samuong2016-01-214-16/+46
| | | | | | | | BUG=chromedriver:1310 Review URL: https://codereview.chromium.org/1604903003 Cr-Commit-Position: refs/heads/master@{#370590}
* [chromedriver][Android] Switch pylib to devil.jbudorick2016-01-152-2/+15
| | | | | | | | BUG=476719 Review URL: https://codereview.chromium.org/1581203002 Cr-Commit-Position: refs/heads/master@{#369786}
* [Chromedriver] Delete the dummyCookie which is created for validating domaingmanikpure2016-01-131-1/+1
| | | | | | | | BUG=chromedriver:824 Review URL: https://codereview.chromium.org/1564203005 Cr-Commit-Position: refs/heads/master@{#369216}
* Update README.chromium to reflect whether a tool is shipped or nothichris1232016-01-131-0/+1
| | | | | | | | | | Mark tools that are only used for testing as NOT_SHIPPED. Also fix bintree's license (MIT License -> MIT) and fix the name & short name of libc++-static. BUG=499582 Review URL: https://codereview.chromium.org/1532203002 Cr-Commit-Position: refs/heads/master@{#369150}
* [Chromedriver] Drop support for M45 and add M48.gmanikpure2016-01-053-3/+3
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/1562533002 Cr-Commit-Position: refs/heads/master@{#367608}
* [chromedriver] Erase scheduled frames once they have loaded.samuong2016-01-041-0/+1
| | | | | | | | | BUG=chromedriver:1304 TBR=stgao@chromium.org Review URL: https://codereview.chromium.org/1559623002 Cr-Commit-Position: refs/heads/master@{#367392}
* [Chromedriver] Disable testShadowDomStaleReference on headgmanikpure2015-12-281-0/+2
| | | | | | | | BUG=chromedriver:1302 Review URL: https://codereview.chromium.org/1553453002 Cr-Commit-Position: refs/heads/master@{#367005}
* Convert Pass()→std::move() in //chromedcheng2015-12-2725-111/+124
| | | | | | | | | | | | ☃ BUG=557422 R=avi@chromium.org TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1551503002 Cr-Commit-Position: refs/heads/master@{#366918}
* Switch to standard integer types in chrome/.avi2015-12-2663-116/+209
| | | | | | | | | | BUG=138542 TBR=thakis@chromium.org NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1548153002 Cr-Commit-Position: refs/heads/master@{#366893}
* [Chromedriver] Enabling java testsgmanikpure2015-12-221-3/+0
| | | | | | | | | | https://codereview.chromium.org/1530183008/ CL fixed the issue. BUG=chromedriver:1290 Review URL: https://codereview.chromium.org/1549593002 Cr-Commit-Position: refs/heads/master@{#366688}
* [Chromedriver] Disabling testGetUrlonInvalidUrl for chromedriver_webview_shellgmanikpure2015-12-221-0/+4
| | | | | | | | BUG=chromedriver:1295 Review URL: https://codereview.chromium.org/1545463002 Cr-Commit-Position: refs/heads/master@{#366498}
* [Chromedriver] Enable timeout issue related py & java testsgmanikpure2015-12-222-12/+0
| | | | | | | | | | | Timeout issue#1278 got fixed with the release of CL https://codereview.chromium.org/1530133002 Hence, re-enabling the tests. BUG=chromedriver:1278 Review URL: https://codereview.chromium.org/1540013002 Cr-Commit-Position: refs/heads/master@{#366496}
* [chromedriver] Avoid using instanceof since it does not work as expected in ↵samuong2015-12-181-2/+10
| | | | | | | | | | | subframes. BUG=chromedriver:1276 TBR=stgao@chromium.org Review URL: https://codereview.chromium.org/1530183008 Cr-Commit-Position: refs/heads/master@{#366186}
* Revert of [chromedriver] Do not wrap or unwrap functions of an object. ↵samuong2015-12-182-25/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | (patchset #3 id:40001 of https://codereview.chromium.org/1510783002/ ) Reason for revert: this is causing some waterfall failures, as well as regressions for older browser versions Original issue's description: > [chromedriver] Do not wrap or unwrap functions of an object. > > TBR=samuong@chromium.org > BUG=chromedriver:1276 > > Committed: https://crrev.com/07972b514fa41867dfe7c9ad34e511702cd16987 > Cr-Commit-Position: refs/heads/master@{#363990} TBR=gmanikpure@chromium.org,stgao@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromedriver:1276 Review URL: https://codereview.chromium.org/1538513006 Cr-Commit-Position: refs/heads/master@{#366174}
* Remove ScopedVector from url_request_context_builderolli.raula2015-12-181-0/+1
| | | | | | | | | | | | | Also added missing include to chrome/test/chromedriver/net/url_request_context_getter.cc TBR=samuong@chromium.org BUG=554289 Review URL: https://codereview.chromium.org/1530133002 Cr-Commit-Position: refs/heads/master@{#366083}
* [Chromedriver] Disable pytest for Timeout issue & javatests for findelement ↵gmanikpure2015-12-162-1/+16
| | | | | | | | | | issue BUG=chromedriver:1278,chromedriver:1290 Review URL: https://codereview.chromium.org/1515773002 Cr-Commit-Position: refs/heads/master@{#365573}
* Revert of Remove ScopedVector from url_request_context_builder (patchset #2 ↵timvolodine2015-12-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | id:20001 of https://codereview.chromium.org/1504383002/ ) Reason for revert: broke compile on all cronet builders, see crbug.com/569978 Original issue's description: > Remove ScopedVector from url_request_context_builder > > Also added missing include to > chrome/test/chromedriver/net/url_request_context_getter.cc > > TBR=samuong@chromium.org > > BUG=554289 > > Committed: https://crrev.com/346f43fc9a434c770542f6237929dabaf4c0a187 > Cr-Commit-Position: refs/heads/master@{#365221} TBR=rsleevi@chromium.org,samuong@chromium.org,jochen@chromium.org,olli.raula@intel.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=554289 Review URL: https://codereview.chromium.org/1525263003 Cr-Commit-Position: refs/heads/master@{#365300}
* Remove ScopedVector from url_request_context_builderolli.raula2015-12-151-0/+1
| | | | | | | | | | | | | Also added missing include to chrome/test/chromedriver/net/url_request_context_getter.cc TBR=samuong@chromium.org BUG=554289 Review URL: https://codereview.chromium.org/1504383002 Cr-Commit-Position: refs/heads/master@{#365221}
* [Android] Fix lingering references to pylib.forwarder.jbudorick2015-12-152-7/+5
| | | | | | | | | BUG=569561 TBR=pasko@chromium.org,samuong@chromium.org Review URL: https://codereview.chromium.org/1528703003 Cr-Commit-Position: refs/heads/master@{#365149}