textusm icon indicating copy to clipboard operation
textusm copied to clipboard

Error: Error: failed to find element matching selector "#usm"

Open dydimos opened this issue 1 year ago • 0 comments

If I use the cli in WSL2, everything works as expected, if I use the command in Windows, I get the error

Error: Error: failed to find element matching selector "#usm" at CdpElementHandle.$eval (C:\Users\User1\AppData\Roaming\npm\node_modules\textusm.cli\node_modules\puppeteer-core\lib\cjs\puppeteer\api\ElementHandle.js:423:27) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async CdpFrame.$eval (C:\Users\User1\AppData\Roaming\npm\node_modules\textusm.cli\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Frame.js:414:20) at async CdpPage.$eval (C:\Users\User1\AppData\Roaming\npm\node_modules\textusm.cli\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Page.js:420:20) at async C:\Users\User1\AppData\Roaming\npm\node_modules\textusm.cli\dist\index.js:281:19 Internal error.

What could be the problem?

dydimos avatar Apr 26 '24 18:04 dydimos