aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorElliott Sales de Andrade <[email protected]>2020-12-22 05:34:18 -0500
committerRon Evans <[email protected]>2021-01-24 23:13:42 +0100
commit5642d72fbe054a0e26977098dd44782d2098685c (patch)
treeda6d112b2183680d7093896ae8c1a55f882ca7d3 /tests
parent92ed645a11764833a14e275749953d2a93b1641a (diff)
downloadtinygo-5642d72fbe054a0e26977098dd44782d2098685c.tar.gz
tinygo-5642d72fbe054a0e26977098dd44782d2098685c.zip
Update to current chromedp.
Diffstat (limited to 'tests')
-rw-r--r--tests/wasm/setup_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wasm/setup_test.go b/tests/wasm/setup_test.go
index a38b42654..6a84983dc 100644
--- a/tests/wasm/setup_test.go
+++ b/tests/wasm/setup_test.go
@@ -16,6 +16,7 @@ import (
"time"
"github.com/chromedp/cdproto/cdp"
+ "github.com/chromedp/cdproto/runtime"
"github.com/chromedp/chromedp"
)
@@ -166,7 +167,7 @@ func waitInnerTextMatch(sel string, re *regexp.Regexp) chromedp.QueryAction {
return chromedp.Query(sel, func(s *chromedp.Selector) {
- chromedp.WaitFunc(func(ctx context.Context, cur *cdp.Frame, ids ...cdp.NodeID) ([]*cdp.Node, error) {
+ chromedp.WaitFunc(func(ctx context.Context, cur *cdp.Frame, execCtx runtime.ExecutionContextID, ids ...cdp.NodeID) ([]*cdp.Node, error) {
nodes := make([]*cdp.Node, len(ids))
cur.RLock()