All Questions
Tagged with headless javascript
85 questions
0
votes
1
answer
57
views
Strapi project update issue Strapi 4 to Strapi 5
After update Strapi 4 to Strapi 5
And try to command npm run develop showing this following errors:
⠧ Loading Strapi(node:97298) Warning: [deprecated] In future versions, Strapi will stop reading ...
0
votes
0
answers
111
views
How to Complete PayPal Express Checkout in a Headless Shopware 6 Store Without Redirect to PayPal Confirmation?
I've implemented the PayPal Express Checkout for my headless Shopware 6 store following Shopware's official example. However, I’m running into issues on the last step, where they use fetch() to call ...
0
votes
0
answers
65
views
Open Client side puppeteer browser from AWS server
I'm currently working on a project hosted on an AWS server, and I have a specific requirement: when a user clicks on a button within my project's page, I want to open a website using Puppeteer. Since ...
0
votes
0
answers
688
views
Playwright headless tests are slower than headful tests
Playwright headless tests are supposed to be faster than the headful tests. My headful tests are taking ~17sec and headless ones are taking ~1min.
Looking into the problem, I saw that in headless mode,...
0
votes
1
answer
210
views
Unusual Puppeteer behavior
I am using Puppeteer to open a web browser headlessly to operate one website in JS. The website needs login before processing. So it opens a popup and closes it on login. I am trying to fill email and ...
0
votes
2
answers
116
views
Get a javascript variable from a web page without interaction/heedlessly
Good afternoon!
We're looking to get a javascript variable from a webpage, that we are usually able to retrieve typing app in the Chrome DevTools.
However, we're looking to realize this headlessly as ...
4
votes
1
answer
4k
views
Cypress tests fail when running headless but pass when running on Cypress interface
I can run my test script on the Cypress interface with npx cypress open. In this case test runs pass. But when I run the same test script headless, it fails. What can be the cause of this issue?
I run ...
5
votes
2
answers
1k
views
ghost-cursor Error : elem.remoteObject is not a function in puppeteer
whenever I run the script in the Local system the cursor properly worked and when I run inside docker that time I fetch an Error so anybody guid me what is wrong or whether this issue is package side ...
0
votes
0
answers
146
views
Why does changing an array seems to lead to infinite loop in React component?
I have a component that adds suggested articles at the bottom of an article. By default, the suggested posts are just pulled from the most recent posts in that current post's category. However, in the ...
0
votes
0
answers
233
views
can't find elements when Headless TRUE in Puppeteer
I am trying to navigate to url and login, when use headless:false every thing is going well but I have this error with headless:true Error! Error: No element found for selector: #email
const browser ...
3
votes
1
answer
2k
views
Unable to download with playwright headless true from url link
I'm new to Playwright world, and my first question on stackoverflow
I'm trying to download a backup file from 'Aliphia' account. But with headless: true it doesn't download anything.
I tried multiple ...
2
votes
1
answer
932
views
puppeteer Error Unknown key: " " when trying to press space key
I was trying to make a fun project by automating a typing test using puppeteer, but when I want to press space this error pops up
D:\scraping\puppeteer tut\node_modules\puppeteer\lib\cjs\puppeteer\...
3
votes
0
answers
2k
views
How to keep current browser data on headless:true mode in puppeteer
I've a puppeteer script which works as expected when it's headless:false mode with Google Chrome profile and executablePath because I need to keep all sessions and browser data every time when I use ...
2
votes
1
answer
783
views
Use puppeteer to enter password on website that has Dynamic numpad virtual keyboard in nodejs
I came across a website which I was only able to enter a password in the security control that popped up. How to solve this problem using Puppeteer?
Below is my code:
const puppeteer = require('...
7
votes
4
answers
12k
views
Strapi CMS third level populating
I have a problem with fetching third level data from Strapi CMS.
My Structure is the following:
Page > Content(Dynamic Zone) > Multiple Entitys e.g. HeroSliderElement.
So Calling this URL from ...