Questions tagged [google-chrome-headless]
Chrome Headless is the headless mode of Chrome and Chromium used for automation, testing, and CI scenarios. Use this tag for questions related to the usage of Chrome Headless and the DevTools protocol.
google-chrome-headless
1,175
questions
0
votes
0
answers
37
views
Opening Google-Chrome browser session in RobotFramework 7 is taking 5 mins which is too long
Opening Chrome browser session in RobotFramework 7 is taking 5 mins, So, we need to find the issue in this keyword and optimize it as ideally it should take a few seconds to open the URL in Browser.
i ...
0
votes
0
answers
14
views
After click sigin button is showing: security certificate&code will handle. Chrome is blank in headless, working in headed mode in serenity framework
Serenity framework
example: customer will click on SignIn button then one security certificate will come like your connection is not private. If certificate is visible code will handle that by clcking ...
1
vote
1
answer
44
views
CLI Print Google Barcode Font to PDF
I have HTML that includes a barcode based on Google Font Libre Barcode 128 Text. When I open the HTML it looks great. However, when attempting to use headless chrome or edge to print to PDF it drops ...
0
votes
0
answers
71
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
0
answers
73
views
How to use headless Chrome in Docker?
Currently I'm using MPDF to convert complicated html files to pdf with PHP Laravel (production server is Ubuntu 22.04 and development is Docker image with Ubuntu 22.04). I would like to improve the ...
1
vote
1
answer
89
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
32
views
Interacting with page that uses frames
I'm working with PuppeteerSharp interacting with a page that contains multiple frames. I believe it's a servlet. My code is clicking a button to check for new orders, then if there are orders, it's ...
0
votes
0
answers
37
views
How and where to download headless chrome (offline) latest for RHEL7.9
I am trying web scrapping using the pyppeteer module. I am using the executablePath for headless chrome. Few sites failing to open the page due to older version of chrome.
My team used the ...
1
vote
1
answer
90
views
How to set proxies with Selenium options when connecting to command-line generated google-chrome
I am successfully running the chrome browser from the terminal with the following command:
google-chrome --remote-debugging-port=9222 --user-data-dir="C:\selenum\ChromeProfile"
I am then ...
0
votes
0
answers
23
views
click element won't work on headless mode
So here's a nested function that I defined. It works on regular window mode but won't work on headless
def xPort():
wait = WebDriverWait(website, 450)
xport = wait.until(EC....
0
votes
1
answer
57
views
Python+Selenium. Page wan't load in headless mode
I'm trying load page with that code
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.support.ui import WebDriverWait
from ...
0
votes
1
answer
140
views
How to use selenium with proxy auth in headless mode?
I'd like to use headless mode with proxy auth login:pass in my python script. I use chrome here.
I have tried creating extension and adding it to chrome, but it works only without headless mode. I was ...
0
votes
0
answers
349
views
C# --headless print-to-pdf with Microsoft edge(chromium) won't work using ProcessStartInfo
It works when using Chrome.
I wanted Edge as a back-up for printing HTML to PDF as it is pre-installed on Windows.
Process.ExitCode gives out 1002 and no error in BeginErrorReadLine. And no PDF is ...
0
votes
0
answers
96
views
AWS Lambda - (The process started from chrome location /opt/chrome/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
I am running a Lambda in AWS written in Python with selenium. This is lambda will open a chrome browser and navigate to a website. This lambda functions perfectly for initial few invocations and later ...
-1
votes
1
answer
101
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 ...