@@ -10,12 +10,12 @@ import (
10
10
"sync"
11
11
"time"
12
12
13
- "github.com/go-rod /rod"
14
- "github.com/go-rod /rod/lib/cdp"
15
- "github.com/go-rod /rod/lib/input"
16
- "github.com/go-rod /rod/lib/launcher"
17
- "github.com/go-rod /rod/lib/proto"
18
- "github.com/go-rod /rod/lib/utils"
13
+ "github.com/assetnote /rod"
14
+ "github.com/assetnote /rod/lib/cdp"
15
+ "github.com/assetnote /rod/lib/input"
16
+ "github.com/assetnote /rod/lib/launcher"
17
+ "github.com/assetnote /rod/lib/proto"
18
+ "github.com/assetnote /rod/lib/utils"
19
19
"github.com/ysmood/gson"
20
20
)
21
21
@@ -64,7 +64,7 @@ func Example_basic() {
64
64
65
65
// Shows how to disable headless mode and debug.
66
66
// Rod provides a lot of debug options, you can set them with setter methods or use environment variables.
67
- // Doc for environment variables: https://pkg.go.dev/github.com/go-rod /rod/lib/defaults
67
+ // Doc for environment variables: https://pkg.go.dev/github.com/assetnote /rod/lib/defaults
68
68
func Example_disable_headless_to_debug () {
69
69
// Headless runs the browser on foreground, you can also use flag "-rod=show"
70
70
// Devtools opens the tab in each new tab opened automatically
@@ -408,7 +408,7 @@ func Example_customize_browser_launch() {
408
408
}
409
409
410
410
// When rod doesn't have a feature that you need. You can easily call the cdp to achieve it.
411
- // List of cdp API: https://github.com/go-rod /rod/tree/main/lib/proto
411
+ // List of cdp API: https://github.com/assetnote /rod/tree/main/lib/proto
412
412
func Example_direct_cdp () {
413
413
page := rod .New ().MustConnect ().MustPage ()
414
414
@@ -661,7 +661,7 @@ func Example_load_extension() {
661
661
Set ("load-extension" , extPath ).
662
662
// Headless mode doesn't support extension yet.
663
663
// Reason: https://bugs.chromium.org/p/chromium/issues/detail?id=706008#c5
664
- // You can use XVFB to get rid of it: https://github.com/go-rod /rod/blob/main/lib/examples/launch-managed/main.go
664
+ // You can use XVFB to get rid of it: https://github.com/assetnote /rod/blob/main/lib/examples/launch-managed/main.go
665
665
Headless (false ).
666
666
MustLaunch ()
667
667
0 commit comments