@@ -40,7 +40,7 @@ In DevTools, navigation is easy: ensure it's the selected mode and then click _A
40
40
``` js
41
41
import {writeFileSync } from ' fs' ;
42
42
import puppeteer from ' puppeteer' ;
43
- import {startFlow } from ' lighthouse/lighthouse-core/fraggle-rock/api.js ' ;
43
+ import {startFlow } from ' lighthouse' ;
44
44
45
45
(async function () {
46
46
const browser = await puppeteer .launch ();
@@ -83,7 +83,7 @@ In DevTools, select "Timespan" as the mode and click _Start timespan_. Record wh
83
83
``` js
84
84
import {writeFileSync } from ' fs' ;
85
85
import puppeteer from ' puppeteer' ;
86
- import {startFlow } from ' lighthouse/lighthouse-core/fraggle-rock/api.js ' ;
86
+ import {startFlow } from ' lighthouse' ;
87
87
88
88
(async function () {
89
89
const browser = await puppeteer .launch ();
@@ -118,7 +118,7 @@ In DevTools, select "Snapshot" as the mode. Set up the page in the state you wan
118
118
``` js
119
119
import {writeFileSync } from ' fs' ;
120
120
import puppeteer from ' puppeteer' ;
121
- import {startFlow } from ' lighthouse/lighthouse-core/fraggle-rock/api.js ' ;
121
+ import {startFlow } from ' lighthouse' ;
122
122
123
123
(async function () {
124
124
const browser = await puppeteer .launch ();
@@ -157,7 +157,7 @@ The below example codifies a user flow for an ecommerce site where the user navi
157
157
import {writeFileSync } from ' fs' ;
158
158
import puppeteer from ' puppeteer' ;
159
159
import * as pptrTestingLibrary from ' pptr-testing-library' ;
160
- import {startFlow } from ' lighthouse/lighthouse-core/fraggle-rock/api.js ' ;
160
+ import {startFlow } from ' lighthouse' ;
161
161
162
162
const {getDocument , queries } = pptrTestingLibrary;
163
163
0 commit comments