Commit Graph

173 Commits

Author SHA1 Message Date
Kenneth Shaw
6afa874714 Add empty *page.EventLifecycleEvent handler
Fixes #154
2017-12-18 11:03:22 +07:00
Daniel Martí
335d22d376 all: simplify some error variables
There's no need to put the error variables in a larger scope, nor define
them earlier than necessary. If anything, it makes the code harder to
follow, such as figuring out when nil errors are returned.
2017-12-18 10:51:37 +07:00
Daniel Martí
7ed029cf24 all: remove unnecessary loop labels
All of them are used for a single return, so use the return instead.
2017-12-18 10:51:37 +07:00
Daniel Martí
a9647b3e5b all: make vet happy on non-generated code 2017-12-18 10:51:37 +07:00
Daniel Martí
98b0b39779 CI: use latest versions of each Go major version
And use -u on go get.
2017-12-18 10:51:37 +07:00
Kenneth Shaw
380c95b6c0 Minor documentation cleanup from last commit 2017-12-18 10:48:40 +07:00
kotamat
07208b1cc3 Add Atributes All feature 2017-12-18 10:42:13 +07:00
kotamat
8f3b889b9f add test code for query
it will be through the coverage test
2017-12-18 10:39:44 +07:00
Kenneth Shaw
2f3b8c00e9 Fixing issue with unit tests so that they run properly on Darwin/Windows 2017-12-18 09:55:04 +07:00
Kenneth Shaw
149612cd65 Updating to latest protocol.json 2017-12-18 07:23:14 +07:00
Kenneth Shaw
148e24a615 Fixing issues with unit tests
1. Changes travis configuration to use the chrome addon
2. Adds more command line options to runner package
3. Removes grab-headless_shell.sh script
4. Cleans up and adds some environment variables for controlling how
   unit tests are ran
5. Fixes a minor issue in chromedp-gen on comment output (for working
   with latest protocol definition)
2017-12-18 07:11:42 +07:00
Kenneth Shaw
fd310a9b84 Centralizing comment / description cleanup in chromedp-gen 2017-12-01 11:00:44 +07:00
Kenneth Shaw
df58ab5964 Updating to latest protocol.json 2017-11-28 09:41:21 +07:00
Kenneth Shaw
4f13da10e7 Fixing issue from last protocol definition update 2017-11-22 16:02:51 +07:00
Kenneth Shaw
88d4832728 Updating to latest protocol.json 2017-11-22 12:01:27 +07:00
Kenneth Shaw
289f0eeb04 Updating to latest protocol.json 2017-11-02 11:49:15 +07:00
Kenneth Shaw
89723e0ce3 Updating to latest protocol.json 2017-10-24 09:06:01 +07:00
Kenneth Shaw
60dbb97d45 Updating to latest protocol.json 2017-10-18 09:26:49 +07:00
Kenneth Shaw
49117a03d8 Updating to latest protocol.json 2017-10-15 12:47:06 +07:00
Kenneth Shaw
e46fa029e1 Updating to latest protocol.json 2017-10-07 08:22:18 +07:00
Kenneth Shaw
457ad699ce Adding logic example 2017-10-07 08:12:57 +07:00
Kenneth Shaw
28ee6338d2 Updating examples/simple/main.go 2017-10-07 06:30:23 +07:00
Kenneth Shaw
20927f98e0 Updating to latest protocol.json 2017-10-05 07:41:50 +07:00
Kenneth Shaw
73f5d37ce2 Fixing bad comment on StreamHandle type in IO domain 2017-09-30 08:50:12 +07:00
Kenneth Shaw
7f081d4be0 Updating to latest protocol.json 2017-09-30 08:27:51 +07:00
Kenneth Shaw
2bc9c6ad0b Updating to latest protocol.json 2017-09-28 15:41:05 +07:00
Kenneth Shaw
f7ba4ae79b Fixing last commit 2017-09-16 06:56:18 +07:00
Kenneth Shaw
0d791ea6f4 Updating to latest protocol.json 2017-09-16 06:52:13 +07:00
Kenneth Shaw
d387b4f27e Minor change to gitignore 2017-09-04 10:09:20 +07:00
Kenneth Shaw
57d2ae2f9f Minor fix to contrib/grab-headless_shell.sh 2017-09-03 08:41:27 +07:00
Kenneth Shaw
89b40f20af Updating to latest protocol.json 2017-09-03 08:15:59 +07:00
Kenneth Shaw
4e57103faa Updating to latest protocol.json 2017-08-29 09:48:17 +07:00
Kenneth Shaw
50c2d576db Updating to latest protocol.json 2017-08-22 16:23:52 +07:00
Kenneth Shaw
b6cbbcbe03 Updating cookie example for new changed API 2017-08-21 07:10:42 +07:00
Kenneth Shaw
b2d9420f0c Updating to latest protocol.json 2017-08-21 06:56:21 +07:00
Kenneth Shaw
7123283c3e Updating to latest protocol.json 2017-08-14 07:59:43 +07:00
Kenneth Shaw
28f0ea8563 Updating to latest protocol.json 2017-08-11 09:28:38 +07:00
Kenneth Shaw
d4c10b0251 Cleaning up chromedp-gen/update.sh script 2017-08-03 14:18:29 +07:00
Kenneth Shaw
e5bd576a97 Updating to latest protocol.json 2017-08-03 12:37:27 +07:00
Ben Davies
10a6f7bd20 Fixes infinite loop (and consequentially spiked CPU usage) on ctx timeout 2017-08-01 13:15:36 +07:00
Kenneth Shaw
9282791225 Updating to latest protocol.json 2017-07-31 09:26:12 +07:00
Kenneth Shaw
5c732ec7c4 Adding faviconURL field to client.Chrome 2017-07-24 12:33:59 +07:00
Kenneth Shaw
b9e4c14157 Updating to latest protocol.json 2017-07-22 07:37:02 +07:00
Kenneth Shaw
2d46c88024 Updating to latest protocol.json 2017-07-14 10:35:11 +07:00
Kenneth Shaw
79b88e2c01 Fixing last commit 2017-07-13 07:46:32 +07:00
Kenneth Shaw
7615cdd4e5 Updating to latest protocol.json 2017-07-13 07:28:14 +07:00
Kenneth Shaw
2dda4650cf Updating to latest protocol.json 2017-07-11 10:39:08 +07:00
Kenneth Shaw
60b7898f53 Changing autogen comments to match Go CL#13560 standard. 2017-07-09 09:05:19 +07:00
Kenneth Shaw
a4589d95d6 Fixing Timestamp type name in cookie example 2017-07-09 08:44:09 +07:00
Kenneth Shaw
1e295eddfb Updating to latest protocol.json (clarifying timestamp behavior)
* Disabled AddOnLoadScript/RemoveOnLoadScript
* Updated chromedp-gen fixups for latest timestamp declarations
* Updated to latest protocol.json definitions
2017-07-09 08:40:29 +07:00