--------------------------------------------------------------------------- Assertion helpers ---------------------------------------------------------------------------
(t *testing.T, haystack, needle string)
| 435 | chromedp.WaitReady(`body`, chromedp.ByQuery), |
| 436 | chromedp.Sleep(1*time.Second), |
| 437 | chromedp.Text(`body`, &text, chromedp.ByQuery), |
| 438 | ); err != nil { |
| 439 | t.Fatalf("browser navigate to %s failed: %v", pageURL, err) |
| 440 | } |
| 441 | return text |
| 442 | } |
| 443 | |
| 444 | // --------------------------------------------------------------------------- |
| 445 | // Server-side verification helpers |
no test coverage detected