Commit Graph

165 Commits

Author SHA1 Message Date
Kenneth Shaw
320373de1a Fixing bad merge from last commit 2017-02-22 20:57:02 +07:00
Kenneth Shaw
35dfe7af26 Merging changes from ranch/hotfix/navigate-back-and-forward 2017-02-22 20:51:59 +07:00
Kenneth Shaw
641ebd7bf0 Adding travis and coveralls badges to README.md 2017-02-22 20:18:06 +07:00
Kenneth Shaw
317a2e94d3 Updating to latest protocol.json definition 2017-02-22 20:15:38 +07:00
Randy Cahyana
a4cd7f9783 Removing external url on navigation and query actions. 2017-02-22 19:55:45 +07:00
Kenneth Shaw
f9b98929b0 Yet another change to travis configuration 2017-02-22 16:19:21 +07:00
Kenneth Shaw
68fbb76e35 Another change to travis configuration 2017-02-22 16:12:51 +07:00
Kenneth Shaw
092361d170 Changing selector in TestClick 2017-02-22 16:10:42 +07:00
Kenneth Shaw
a2966fde60 Removing -race on travis test (for now) 2017-02-22 15:49:47 +07:00
Kenneth Shaw
efc98098b4 Fixing panic on Pool.Release 2017-02-22 15:27:38 +07:00
Kenneth Shaw
a6d06c7524 Attempt to fix travis ci settings 2017-02-22 09:13:31 +07:00
Kenneth Shaw
6b426dd931 Changing travis ci config 2017-02-22 09:01:10 +07:00
Kenneth Shaw
c6781d513d Adding go1.8 to travis config 2017-02-22 08:27:44 +07:00
Kenneth Shaw
e8e7c84642 Attempting fix to travis ci config 2017-02-22 08:24:49 +07:00
Kenneth Shaw
6ce1f2fdfb Reenabling TestStop
- Added contrib/grab-headless_shell.sh to grab latest headless_shell
- Changed travis config to use contrib/grab-headless_shell.sh
- Reenabled TestStop since Page.stopLoading is now available with latest
  available headless_shell
2017-02-22 07:58:30 +07:00
Kenneth Shaw
d15303bae6 Skipping TestStop unit test (Page.stopLoading not available) 2017-02-21 15:06:28 +07:00
Kenneth Shaw
bb2a503425 Standardizing NavigateBack and NavigateForward API 2017-02-21 11:25:36 +07:00
Randy Cahyana
786e242a24 Fixing NavigateBack and NavigateForward implementation.
Removing entries loop to find current navigation entry, as GetNavigationHistory already returning
index of current navigation history entry.
2017-02-21 10:44:12 +07:00
Randy Cahyana
05cd03c3d4 Fixing NavigateBack and NavigateForward implementation.
Removing entries loop to find current navigation entry, as GetNavigationHistory already returning
index of current navigation history entry.
2017-02-21 10:36:35 +07:00
Randy Cahyana
1988de618d Adding unit test for navigation actions. 2017-02-21 09:08:18 +07:00
Kenneth Shaw
4c16faa34d Minor code cleanup/maintenance on generated cdp protocol 2017-02-18 15:36:24 +07:00
Kenneth Shaw
ab80f4c5bc Fixing race issues on nodes 2017-02-18 14:28:43 +07:00
Kenneth Shaw
2b0edf7c25 Fixing unit test output from last commit 2017-02-18 13:31:59 +07:00
Kenneth Shaw
dc17e7f8cd Parallelizing unit tests 2017-02-18 13:12:21 +07:00
Kenneth Shaw
b5687e625d Adding missing patches from ranch 2017-02-18 12:37:28 +07:00
Kenneth Shaw
db4400bfe9 Dropping custom qtc + easyjson
- Updating documentation for chromedp-gen to point to standard versions
  of easyjson/quicktemplate (qtc) and added information about goimports
- Replaced {% end %} non-standard quicktemplate tags with the
  appropriate closing tags
- Updated to latest chrome protocol.json definition
- Regenerated cdp protocol after switching to standard easyjson/qtc
2017-02-18 11:02:24 +07:00
Randy Cahyana
0db7a9ee72 Increasing unit test coverage on query.go 2017-02-18 10:50:33 +07:00
Randy Cahyana
dc08ecc727 Added missing Proxy PAC URL command line option 2017-02-18 10:46:20 +07:00
Kenneth Shaw
e12e5d1f15 Fixing Clear action to properly work with textarea nodes 2017-02-18 10:39:11 +07:00
Kenneth Shaw
21d13b8f0a Fixing missing wait call for pool chrome instances 2017-02-18 09:49:41 +07:00
Randy Cahyana
6c5096f06a Fixing SetAttributes 2017-02-16 19:41:04 +07:00
Kenneth Shaw
b5032069e3 Fixing race issues
- Refactored chromedp-gen and cdp code so that Execute no longer returns
  a channel
- Fixing potential race problems in handler
- Eliminated some dead code
- Updated examples to include new logging parameters
2017-02-14 17:15:53 +07:00
Kenneth Shaw
7326b390a0 Initial changes to provide configurable logging options 2017-02-13 16:00:39 +07:00
Kenneth Shaw
f55e04bb7a Fixing last commit 2017-02-12 16:46:59 +07:00
Kenneth Shaw
3673164aef Code cleanup
- Refactored API calls to be cleaner
- Changed types that shoudn't be exported to not-exported
- Updated examples with API changes
- Added unit test for Title action
2017-02-12 14:08:40 +07:00
Kenneth Shaw
f73c429109 Renaming FrameHandler, updating to latest protocol.json, and code fixes 2017-02-12 12:50:46 +07:00
Kenneth Shaw
ee58f3a0e0 Fixing travis again 2017-02-09 22:27:15 +07:00
Kenneth Shaw
0de0bce751 Fixing travis.yml 2017-02-09 22:23:23 +07:00
Kenneth Shaw
0ac58bf932 Another fix for travis 2017-02-09 22:19:20 +07:00
Kenneth Shaw
cd3e2c613c Yet another attempt to fix travis.yml 2017-02-09 22:09:01 +07:00
Kenneth Shaw
3931d42ab5 Fixing travis.yml 2017-02-09 22:04:07 +07:00
Kenneth Shaw
42c6cca7ed Initial commit of pool and unit tests 2017-02-09 22:01:40 +07:00
Kenneth Shaw
c112899581 Fixing chromedp-gen and updating protocol.json
- Fixes issues with different flag toggles on chromedp-gen
- Updating to latest protocol.json
2017-02-09 13:45:44 +07:00
Kenneth Shaw
98a04266f9 Fixing chromedp-gen flag parameters and updating README.md 2017-02-09 13:04:50 +07:00
Kenneth Shaw
6eec61e7df Adding ElementNotPresent/WaitNotPresent query option/action 2017-02-08 23:16:28 +07:00
Kenneth Shaw
6769aefc5e Fixing Visible/NotVisible issues; adding new actions
- Fixed issues with ElementVisible/ElementNotVisible
- Added a few extra Javascript based actions
2017-02-08 23:01:35 +07:00
Kenneth Shaw
705f3be8e5 Updating edge-simple example (WIP) 2017-02-08 21:41:07 +07:00
Kenneth Shaw
f557f48716 Updating to latest protocol.json definition 2017-02-08 21:35:46 +07:00
Kenneth Shaw
4137fe57cc Initial work to fix mouse actions 2017-02-08 21:35:12 +07:00
Kenneth Shaw
5bef7dce13 Changes to ElementVisible/ElementNotVisible
Changed implementation of ElementVisible/ElementNotVisible to use a
javascript evaluation instead of the previous, cumbersome
implementation. As this may not work correctly in all scenarios, the old
versions will remain as ElementVisibleOld and ElementNotVisibleOld until
the new implementations can be vetted for correctness/performance.
2017-02-08 15:40:22 +07:00