Commit Graph

264 Commits

Author SHA1 Message Date
Kenneth Shaw
df490a3025 Adding SetUploadFiles and changing SendKeys behavior
Added high level action SetUploadFiles to set the upload files for a
input[type="file"] node, and modified SendKeys to recognize the nodes.

Additionally, added unit test for both, and updated the
examples/upload/main.go to use the SendKeys variant.
2017-07-01 10:14:42 +07:00
Kenneth Shaw
0b9790e5a8 Example file upload 2017-07-01 08:17:38 +07:00
Kenneth Shaw
a2c99f7c1a Updating to latest protocol.json 2017-07-01 06:55:30 +07:00
Kenneth Shaw
fa151e8cf5 Updating to latest protocol.json 2017-06-25 08:38:47 +07:00
Kenneth Shaw
3d87ff99bf Updating to latest protocol.json 2017-06-23 09:00:24 +07:00
Kenneth Shaw
4cc4ba1ca2 Adding auto generated warning to kb/keys.go 2017-06-18 10:46:57 +07:00
Kenneth Shaw
8593dbf08e Fixing issue with Network.Headers type 2017-06-18 10:27:15 +07:00
Kenneth Shaw
59b4e8a6af Minor changes to update.sh and build.sh for chromedp-gen 2017-06-18 09:46:51 +07:00
Kenneth Shaw
fa3cf26d37 Minor changes to unit tests in attempt to fix issues with travis 2017-06-18 09:32:12 +07:00
Kenneth Shaw
dba0e6c45a Updating README.md with latest examples/simple/main.go 2017-06-18 08:12:33 +07:00
Rob Holland
68bf958ce3 If we receive an updated frame ensure we reset cur if required.
Prior to this change `cur` can be stale, meaning the frame returned for
`WaitFrame(ctxt, cdptypes.EmptyFrameID)` will be out of date, and never updated
based on incoming events.
2017-06-18 08:10:24 +07:00
Kenneth Shaw
622bb2ac33 Removing bad context declaration 2017-06-18 08:07:06 +07:00
Kenneth Shaw
a7d69aad1f Fixing issue with nodeType named object parameters in chromedp-gen, and updating to latest protocol.json 2017-06-18 07:55:45 +07:00
Kenneth Shaw
57160a279e Minor changes to chromedp-gen/build.sh 2017-06-17 07:56:52 +07:00
Kenneth Shaw
74075d513f Adding go get -u to chromedp-gen/build.sh to ensure always on latest easyjson/qtc 2017-06-12 08:32:38 +07:00
Kenneth Shaw
91303cba34 Updating to latest protocol.json 2017-06-06 17:57:18 +07:00
Miki Tebeka
d2a7882b93 chromium is also an option for executable name on Linux 2017-05-30 14:17:20 +07:00
Kenneth Shaw
3b6d7ebbaf Updating to latest protocol.json 2017-05-30 14:14:20 +07:00
Kenneth Shaw
a2ab1b4ed2 Fixing typo in travis config 2017-05-24 10:03:55 +07:00
Kenneth Shaw
d310a693be Converting travis apt dependencies to official addons config style 2017-05-24 10:02:32 +07:00
Kenneth Shaw
e883c99c6d Fixing travis config from last commit 2017-05-24 09:58:46 +07:00
Kenneth Shaw
7d501c8122 Updating travis config to add libstdc++6 dependency 2017-05-24 09:55:56 +07:00
Kenneth Shaw
5a93845610 Updating grab-headless_shell.sh script 2017-05-24 09:49:25 +07:00
Kenneth Shaw
0603a8acd9 Updating to latest protocol.json 2017-05-24 09:36:12 +07:00
Kenneth Shaw
dff2331810 Updating to latest protocol.json 2017-05-19 08:09:21 +07:00
Kenneth Shaw
49a8fd6e52 Updating to latest protocol.json 2017-05-15 14:59:53 +07:00
Kenneth Shaw
869aafc836 Adding script to generate domains from protocol.json and updating to latest protocol.json 2017-05-06 08:20:24 +07:00
Kenneth Shaw
6598ce143e Updating to latest protocol.json 2017-04-20 06:22:16 +07:00
Kenneth Shaw
4bb2c55697 Updating to latest protocol.json and addition of Browser domain 2017-04-17 07:32:07 +07:00
Kenneth Shaw
09d39c646b Adding pool example 2017-04-05 10:00:51 +07:00
Kenneth Shaw
2c07a7f49c Updating to latest protocol.json 2017-04-04 15:47:15 +07:00
Kenneth Shaw
eb9de08765 Fixing typo from last commit 2017-03-28 07:42:47 +07:00
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