Questions tagged [headless-browser]
A headless browser is a web browser without a graphical user interface. They are used to provide content of web pages to other programs.
headless-browser
757
questions
0
votes
0
answers
21
views
How can I access DOM of a website using phantomjs
I am trying get all the anchor tags in a website using phantomjs. My code was working fine when I used it with https://example.com. But when I changed it into an Angular website(Angular 16), I ...
0
votes
0
answers
74
views
Selenium automation in headless mode
Has anyone come across this error before?
An error occurred: Message: element not interactable
(Session info: chrome=125.0.6422.113)
I'm trying to build a simple script that opens up google, searches ...
1
vote
1
answer
90
views
Headless Chrome Not Sending WebSocket URL in StandardOutput
I am trying to create a headless chrome using .NET core and code I am using shared below. As per the "https://developer.chrome.com/docs/chromium/new-headless" it has to send the WebSocket ...
0
votes
0
answers
130
views
run a Selenium test in headless mode with webgl support
I'm trying to run a selenium test in headless mode on a web page that is using WebGL (Cesium). When performing driver.save_screenshot("..."), I'm seeing a banner in the middle of the screen ...
0
votes
0
answers
15
views
JBrowserDriver not able to create Temp file
I am running the following java code:
import com.machinepublishers.jbrowserdriver.JBrowserDriver;
import com.machinepublishers.jbrowserdriver.Settings;
import org.openqa.selenium.By;
...
1
vote
0
answers
24
views
How do i get the newly opened page after a form submission using puppeteer
I have a website which i want to crawl, where when i submit a form i am opening it into a new page using Command + Click in macOS.
It is working fine and after the submission of the form it is opening ...
0
votes
0
answers
93
views
Connecting puppeteer to an existing Brave Browser instance using
Hi i have a script that would scrape relevant data from a website, and i want to create a headless browser that has a remote connection to the brave browser that is requesting for the website to be ...
-1
votes
1
answer
105
views
Headless browser not scraping as much data (debugging)
I am trying to figure out the exact reason why my headless program retrieves less data than the graphical one.
You can find the repository here and to run the code you must have a TikTok account. This ...
0
votes
2
answers
258
views
Is there a way to test using Gatling but do it through a headless browser context?
So I have a scenario where I have a service which I'm trying to create automated Gatling performance tests for, issue being that it does not expose any REST endpoints for me to test against. The way ...
0
votes
0
answers
121
views
Java Playwright get Siblings by ElementHandle
I have a page with i select the items but i need starting with a ElementHandle i need to get the N next siblings this cannot be make with a general css selector the info i need is in the siblings i ...
0
votes
0
answers
95
views
how to run puppeteer code while using firebase cloud functions
i've been using this project locally and it was perfect, when i uploaded the puppeteer function on firebase functions and the frontend part to firebase hosting the chromium headless browser isn't ...
1
vote
1
answer
61
views
Need to be able to print data, created in node.js headless browser
How to do workaround to be able to print out any data, eg. instant string, variables, etc, created inside node.js running a headless browser as console.log('Text') won't work.
such e.g. is
const pup ...
0
votes
1
answer
60
views
Headless browser / Python & Selenium mute function
Can this line of selenium code: firefox_options.add_argument("--mute-audio") work when being used with a headless browser? Here is the function I am working with:
def start_driver(self):
...
0
votes
0
answers
53
views
Capybara::ElementNotFound - navbar item in toggled navbar
I am testing elements in my navbar, and it currently fails to recognise an item.
I first checked with save_and_open_page, and the page really looked correct, so I could not understand why my test ...
0
votes
2
answers
72
views
How to auto submit forms using Java headless browser HtmlUnit
I'm quite new to HtmlUnit but what I'm trying to do here is as follows
we have a crystal server where we need to call to fetch reports
we are using Restful APIs that are exposed from crystal server to ...