Commit Graph

232 Commits

Author SHA1 Message Date
Kenneth Shaw
8eb44961e2 Adding simple bounds check on InlineStyleInvalidated events
Temporary fix. Better logic should be in place to handle this.

Fixes #44
2017-03-28 06:59:28 +07:00
Kenneth Shaw
3892722188 Updating to latest protocol.json 2017-03-25 05:51:18 +07:00
Kenneth Shaw
568cab6121 Updating to latest protocol.json 2017-03-18 23:48:19 +07:00
Kenneth Shaw
23221e4265 Updating to latest protocol.json 2017-03-13 09:29:26 +07:00
Kenneth Shaw
c823db34d5 Updating todo section in README.md 2017-03-13 09:25:10 +07:00
Kenneth Shaw
a97f401cc3 Adding link to GoDoc page in README.md 2017-03-13 09:24:25 +07:00
Kenneth Shaw
ddaa7bc4e7 Adding safeguards around Shutdown and AddTarget 2017-03-13 09:09:57 +07:00
Kenneth Shaw
8c9e75e5ab Add kb dir to contrib/stats.sh 2017-03-02 11:27:43 +07:00
Kenneth Shaw
9c620947d1 Updating contrib/meta.sh to be more explicit on ignored meta errors 2017-03-02 10:48:09 +07:00
Kenneth Shaw
8e8dabbe6c Fixing remaining gofmt/misspell issues for goreportcard 2017-03-02 10:24:35 +07:00
Kenneth Shaw
22e287750a Fixing misspelling issues 2017-03-02 09:53:47 +07:00
Kenneth Shaw
6ab485c766 Updating to latest protocol.json 2017-03-02 08:16:48 +07:00
Kenneth Shaw
bf1d5ecfbc Revising ScrollIntoView Action
- Rewrote ScrollIntoView to be consistent with other query actions
2017-02-28 08:35:00 +07:00
Randy Cahyana
f85f3777fa Fixing issue when node is offscreen and more.
- Adding ScrollIntoNode action.
- Adding isOnViewJS snippet.
- Fixing race issue in some unit tests.
2017-02-27 19:17:36 +07:00
Randy Cahyana
d63d697c77 Increasing unit tests coverage. 2017-02-25 07:23:14 +07:00
Kenneth Shaw
826072d0bf Updating to latest protocol.json 2017-02-25 07:21:58 +07:00
Randy Cahyana
3a264ed3ff Adding unit test for navigation actions and few minor changes. 2017-02-23 16:39:29 +07:00
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