Comments (2)
Hi @transreport-marley, thanks for the issue.
I'd assume the issue is that the page does not currently have a context, you should visit a URL of your site before setting the cookie. Unlighthouse can't safely do this for you as it doesn't know what is authenticated before this hook is ran.
await page.goto('https://mysite.com)
from unlighthouse.
@harlan-zw I don't suppose you've experienced something like this before? I am still scratching my head and can't find a solution.
from unlighthouse.
Related Issues (20)
- Results Circle style
- onlyAudits doesnt work
- Upgrade Axios to latest HOT 2
- Remove @types/wrap-ansi dependency
- npm WARN deprecated
- Many errors running it locally. HOT 3
- Update description of `--enable-i18n-pages` and Also follow canonical URLs on the same host HOT 1
- `--output-path` doesn't allow for absolute paths
- Error, mockRouter not found HOT 2
- unit testing with vitest HOT 1
- Router Prefix doesn't work for report screenshots HOT 1
- Can i increase Route run size above 200 HOT 1
- Relative urls when generating static report HOT 2
- Unlighthouse stuck at "Waiting for routes..." screen HOT 2
- [CI] [v0.11] `lighthouseOptions.throttlingMethod` always set to `provided` HOT 3
- Starting crawl from subdirectory HOT 4
- Cookies are missing during lighthouse scan HOT 3
- Build Static Report - Relative Pathing HOT 5
- Using `unlighthouse-ci --output-path= <path>` removes the target directory. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unlighthouse.