Worklog for task "Add a tool to check pages from a list and prepare pages for re-crawling"
17 ΠΈΡΠ½. 2026 Π³., 02:17:16
Updated packages, got an error
server/schema/types/Analyra/resolvers/analyzeWebPageAccesibility/index.ts:199:40 - error TS2739: Type 'Page' is missing the following properties from type 'Page': localStorage, sessionStorage
199 const axe = await new AxeBuilder({ page }).analyze()
~~~~
node_modules/@axe-core/playwright/dist/index.d.ts:5:5
5 page: Page;
~~~~
The expected type comes from property 'page' which is declared here on type 'AxePlaywrightParams'
Found 1 error in server/schema/types/Analyra/resolvers/analyzeWebPageAccesibility/index.ts:199
It wasn't immediately possible to isolate the issue. It turns out that axe-core, which is part of @axe-core/playwright, got updated even though @axe-core/playwright itself stayed at the same version, and this axe-core expected a Page object with new fields as input, while this object is created by another dependency β playwright, which in turn is installed alongside @playwright/test.
npm list playwright
site-boilerplate@1.12.0 /disks/wd-1000/www/analyra.ru/agent
βββ¬ @playwright/test@1.61.0
β βββ playwright@1.61.0
βββ¬ n8n@2.1.5
βββ¬ @n8n/n8n-nodes-langchain@2.1.4
βββ¬ @langchain/community@1.0.5
βββ playwright@1.61.0 deduped
So @playwright/test needed to be updated, and that solved the problem.