1,188 questions
0
votes
1
answer
130
views
Response code 500. Message: session not created: DevToolsActivePort file doesn't exist (Chrome 140.0.7339.207 )
I am using Selenium4 with Java and Jenkins is running on Linux machine. I have updated my chrome on Linux to 140.0.7339.207 and I am not downloading Chrome Driver explicitly as Selenium4 Driver ...
0
votes
1
answer
156
views
Headless Google Chrome in Pycharm doesnt work at the background using Pytest fixture
I'm learning auto tests in python, and in one video a guy using Mozilla for tests and he uses the following code block:
import pytest
from selenium import webdriver
from selenium.webdriver.chrome....
0
votes
1
answer
76
views
JS execution slower in built chromium binary compared to downloaded chromium binary
I am using puppeteer to run a bunch of JS to process HTML files in headless chromium. I noticed that when I use the Chromium binary downloaded from https://storage.googleapis.com/chromium-browser-...
2
votes
0
answers
108
views
How to avoid extra blank space at the bottom of PDF output using headless Chrome and CDP in Java?
I'm generating a PDF from a responsive web page (mobile version) using a headless Chrome instance and the Chrome DevTools Protocol (CDP) in Java. The goal is to produce a single-page PDF that reflects ...
0
votes
3
answers
230
views
Browser is not maximizing in the headless mode
I'm facing a problem while running the automation suite using Java + Selenium in headless mode. The scripts are failing because the browser is not maximizing as expected.
My current Chrome version is ...
0
votes
1
answer
88
views
Devtools could not start
Hello I am using headless chrome for PDF generation for Khmer PDF. However, after installation I make configuration to my PDF, but it keep loading page " Devtools could not start ". I don't ...
0
votes
1
answer
64
views
Selenium: what is the difference between different resolutions in Chrome headless mode?
We are running PC-Web automation with headless mode, the default resolution ratio is low, and the automation screenshot can not shows all the contents.
After I add_argument("window-size=3840x2160&...
0
votes
0
answers
92
views
Puppeteer is unable to install Chrome headless on jenkins
I've upgraded my Angular project, which meant I needed to make a Jenkins agent use Node 18 to work with it.
The project builds and tests fine locally without issues. However, once I try running this ...
0
votes
0
answers
133
views
Create Webdriver from robotframework fails to instantiate in container environment tells to use --user-data-dir argument
Following is my Dockerfile which is in ubi8
FROM registry-access-redhat-com.repo.cci.company.net/ubi8/ubi-minimal
RUN rm -f /etc/yum.repos.d/redhat.repo && \
sed -i 's#cdn-ubi.redhat....
1
vote
0
answers
86
views
chrome headless html to pdf
i am trying to convert html to pdf with chrome headless but i am running into some authentication issue
new ProcessBuilder("chmod", "-R", "777", "/usr/share/oscar-...
0
votes
1
answer
199
views
Issue with wkhtmltopdf
So in my project i when i am submitting a form i get the html to a action class and then clean it up as per my requirement and load the view form page in the backend for wkhtmltopdf to be able to ...
0
votes
0
answers
46
views
How to get cookies from the page that was created by headless_chrome crate with proxy that has authentication?
let proxy = format!("http://{}:{}", "host", "port");
let launch_options = LaunchOptions::default_builder()
.path(Some(browser::default_executable().unwrap()))
....
2
votes
0
answers
52
views
Puppeteer load Chrome Extension error :browser.targets cannot find the service_worker
When I am starting Puppeteer locally, I can load the plugin normally and can detect service_worker when headerless is any value.Here's my code to configure the browser
const absoultePath = path.join(...
0
votes
0
answers
1k
views
How can I fix an AppArmor policy prevents this sender from sending this message to this recipient?
I've tried everything and done a lot of research to fix this problem, but nothing works. My goal was to convert my HTML file to PDF with Chromium Headless, but I got this error:
johndoe@domain:/var/...
1
vote
0
answers
65
views
Puppeteer - Disable Chrome Spell Check
I am working on a project that uses screenshot comparison to perform e2e testing. The testing process involves spinning up a browserless/chrome Docker container and then pointing Puppeteer to the ...