name of project is changed
This commit is contained in:
parent
f606ca9e73
commit
a0bba77505
2
.github/ISSUE_TEMPLATE
vendored
2
.github/ISSUE_TEMPLATE
vendored
|
@ -1,7 +1,7 @@
|
||||||
#### What versions are you running?
|
#### What versions are you running?
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
$ go list -m github.com/chromedp/chromedp
|
$ go list -m git.loafle.net/commons_go/chromedp
|
||||||
$ chromium --version
|
$ chromium --version
|
||||||
$ go version
|
$ go version
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
@ -9,7 +9,7 @@ Package chromedp is a faster, simpler way to drive browsers supporting the
|
||||||
Install in the usual Go way:
|
Install in the usual Go way:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go get -u github.com/chromedp/chromedp
|
go get -u git.loafle.net/commons_go/chromedp
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
@ -25,7 +25,7 @@ a few simple and runnable examples.
|
||||||
* [chromedp examples][6] - various `chromedp` examples
|
* [chromedp examples][6] - various `chromedp` examples
|
||||||
* [`github.com/chromedp/cdproto`][9] - GoDoc listing for the CDP domains used by `chromedp`
|
* [`github.com/chromedp/cdproto`][9] - GoDoc listing for the CDP domains used by `chromedp`
|
||||||
* [`github.com/chromedp/cdproto-gen`][10] - tool used to generate `cdproto`
|
* [`github.com/chromedp/cdproto-gen`][10] - tool used to generate `cdproto`
|
||||||
* [`github.com/chromedp/chromedp-proxy`][11] - a simple CDP proxy for logging CDP clients and browsers
|
* [`git.loafle.net/commons_go/chromedp-proxy`][11] - a simple CDP proxy for logging CDP clients and browsers
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
|
@ -40,8 +40,8 @@ a few simple and runnable examples.
|
||||||
[4]: https://coveralls.io/github/chromedp/chromedp?branch=master
|
[4]: https://coveralls.io/github/chromedp/chromedp?branch=master
|
||||||
[5]: https://chromedevtools.github.io/devtools-protocol/
|
[5]: https://chromedevtools.github.io/devtools-protocol/
|
||||||
[6]: https://github.com/chromedp/examples
|
[6]: https://github.com/chromedp/examples
|
||||||
[7]: https://godoc.org/github.com/chromedp/chromedp
|
[7]: https://godoc.org/git.loafle.net/commons_go/chromedp
|
||||||
[8]: https://www.youtube.com/watch?v=_7pWCg94sKw
|
[8]: https://www.youtube.com/watch?v=_7pWCg94sKw
|
||||||
[9]: https://godoc.org/github.com/chromedp/cdproto
|
[9]: https://godoc.org/github.com/chromedp/cdproto
|
||||||
[10]: https://github.com/chromedp/cdproto-gen
|
[10]: https://github.com/chromedp/cdproto-gen
|
||||||
[11]: https://github.com/chromedp/chromedp-proxy
|
[11]: https://git.loafle.net/commons_go/chromedp-proxy
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/chromedp/chromedp"
|
"git.loafle.net/commons_go/chromedp"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleTitle() {
|
func ExampleTitle() {
|
||||||
|
@ -18,7 +18,7 @@ func ExampleTitle() {
|
||||||
|
|
||||||
var title string
|
var title string
|
||||||
if err := chromedp.Run(ctx,
|
if err := chromedp.Run(ctx,
|
||||||
chromedp.Navigate("https://github.com/chromedp/chromedp/issues"),
|
chromedp.Navigate("https://git.loafle.net/commons_go/chromedp/issues"),
|
||||||
chromedp.WaitVisible("#start-of-content", chromedp.ByID),
|
chromedp.WaitVisible("#start-of-content", chromedp.ByID),
|
||||||
chromedp.Title(&title),
|
chromedp.Title(&title),
|
||||||
); err != nil {
|
); err != nil {
|
||||||
|
|
10
go.mod
10
go.mod
|
@ -1,9 +1,3 @@
|
||||||
module github.com/chromedp/chromedp
|
module git.loafle.net/commons_go/chromedp
|
||||||
|
|
||||||
require (
|
go 1.12
|
||||||
github.com/chromedp/cdproto v0.0.0-20190403231133-2aeaf1f9e897
|
|
||||||
github.com/disintegration/imaging v1.6.0
|
|
||||||
github.com/gorilla/websocket v1.4.0
|
|
||||||
github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983
|
|
||||||
golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f // indirect
|
|
||||||
)
|
|
||||||
|
|
16
go.sum
16
go.sum
|
@ -1,16 +0,0 @@
|
||||||
github.com/chromedp/cdproto v0.0.0-20190403231133-2aeaf1f9e897 h1:FKNZWQdZMOZoXB0b7RFgtYKDD7AH7fvwQ8K6b2fZ2sQ=
|
|
||||||
github.com/chromedp/cdproto v0.0.0-20190403231133-2aeaf1f9e897/go.mod h1:xquOK9dIGFlLaIGI4c6IyfLI/Gz0LiYYuJtzhsUODgI=
|
|
||||||
github.com/disintegration/imaging v1.6.0 h1:nVPXRUUQ36Z7MNf0O77UzgnOb1mkMMor7lmJMJXc/mA=
|
|
||||||
github.com/disintegration/imaging v1.6.0/go.mod h1:xuIt+sRxDFrHS0drzXUlCJthkJ8k7lkkUojDSR247MQ=
|
|
||||||
github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q=
|
|
||||||
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
|
|
||||||
github.com/knq/sysutil v0.0.0-20181215143952-f05b59f0f307 h1:vl4eIlySbjertFaNwiMjXsGrFVK25aOWLq7n+3gh2ls=
|
|
||||||
github.com/knq/sysutil v0.0.0-20181215143952-f05b59f0f307/go.mod h1:BjPj+aVjl9FW/cCGiF3nGh5v+9Gd3VCgBQbod/GlMaQ=
|
|
||||||
github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
|
|
||||||
github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983 h1:wL11wNW7dhKIcRCHSm4sHKPWz0tt4mwBsVodG7+Xyqg=
|
|
||||||
github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
|
|
||||||
golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81 h1:00VmoueYNlNz/aHIilyyQz/MHSqGoWJzpFv/HW8xpzI=
|
|
||||||
golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs=
|
|
||||||
golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f h1:FO4MZ3N56GnxbqxGKqh+YTzUWQ2sDwtFQEZgLOxh9Jc=
|
|
||||||
golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
|
|
||||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
|
2
input.go
2
input.go
|
@ -8,7 +8,7 @@ import (
|
||||||
"github.com/chromedp/cdproto/dom"
|
"github.com/chromedp/cdproto/dom"
|
||||||
"github.com/chromedp/cdproto/input"
|
"github.com/chromedp/cdproto/input"
|
||||||
|
|
||||||
"github.com/chromedp/chromedp/kb"
|
"git.loafle.net/commons_go/chromedp/kb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// MouseAction is a mouse action.
|
// MouseAction is a mouse action.
|
||||||
|
|
|
@ -16,7 +16,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/chromedp/chromedp/kb"
|
"git.loafle.net/commons_go/chromedp/kb"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -18,7 +18,7 @@ import (
|
||||||
"github.com/chromedp/cdproto/dom"
|
"github.com/chromedp/cdproto/dom"
|
||||||
"github.com/chromedp/cdproto/emulation"
|
"github.com/chromedp/cdproto/emulation"
|
||||||
|
|
||||||
"github.com/chromedp/chromedp/kb"
|
"git.loafle.net/commons_go/chromedp/kb"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestNodes(t *testing.T) {
|
func TestNodes(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user