Category : google-chrome-headless

I am trying to set up a headless Chromium browser in AWS Lambda using a docker container. My Dockerfile looks like this # Build stage # ———— FROM public.ecr.aws/lambda/nodejs:14 AS builder RUN yum install -y make # Install dependencies ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true" WORKDIR /usr/src COPY package*.json . COPY tsconfig*.json . RUN npm ci # build Typescript ..

Read more

I am running headless chrome using python and selenium. For my automated tests we are testing on a non-production environment which is not accessible without installing a .crt cert on your machine to: Current User>Trusted Root Certificate Authority In the Dockerfile I am installing the certs as below: FROM selenium/standalone-chrome-debug:latest RUN sudo apt-get update && ..

Read more

I am running selenium inside docker and getting this error on this call: driver.get(URL) Traceback (most recent call last): File "esdm.py", line 244, in <module> upload_to_esdm(browser, version_url, args.im_file, args.build, args.user_name, args.password, args.apps_file) File "esdm.py", line 78, in upload_to_esdm browser.get(version_url) File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 333, in get self.execute(Command.GET, {‘url’: url}) File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) ..

Read more

I’m using windows nanoserver container to launch puppeteer but it fails and I’m not sure what’s wrong with my code here’s my docker file FROM mcr.microsoft.com/windows/nanoserver:1903 COPY nodejs /windows/system32 CMD [ "node.exe" ] COPY package.json ./ RUN npm install # Bundle app source COPY . . ENTRYPOINT [ "node", "./server.js" ] nodejs is a the ..

Read more

Background I’m working on end-to-end tests for an Angular 2 application. My Protractor capabilities is configured with the Chrome browser with an option to run in headless mode. I’ve created a Docker Compose stack to run the E2E tests with a headless Chrome in a container. It works well but I can’t see what the ..

Read more