Compile PHP into Static Binary

I need to run a php script on a system with a somewhat broken PHP install. Rather than trying to workaround the issues I want to just package my code with it's own PHP binary (I can execute an...

google-chrome-stable error - Unable to Install Google Chrome on Ubuntu 10.04

Here's what I tried doing to install chrome64 and faced a issue. sudo dpkg --install /home/chronus/Downloads/google-chrome-stable_current_amd64.deb Preparing to replace google-chrome-stable...

Puppeteer in docker container: Chromium revision is not downloaded

I'm trying to launch puppeteer in an express app that's run in a docker container, using docker-compose. The line that should launch puppeteer const browser = await puppeteer.launch({args:...

Open files from Linux bash shell on Windows 10

Using Windows 10 and I have the Linux Bash Shell to use with Jekyll. All I am looking to do is open the explorer or filesystem to copy some files. Does anyone know how you browse the file explorer...

Please, set "CHROME_BIN" env variable inside docker npm test

'npm run test' works completely fine on the server or on my local but its failing on my docker machine. I am bit new to this docker world so I am just confused about whats going wrong here. I was...

Robot Framework - Docker - Chromedriver

I'm trying to setup a container to test with RobotFramework on chrome. But when I run my container I keep getting a WebDriverException. I've searched but couldn't find any fix that actually works...

Error "Running as root without --no-sandbox is not supported"

I try to implement scrapy-puppeteer library for my project (https://pypi.org/project/scrapy-puppeteer/) I implement PuppeteerMiddleware according to documentation from library Here is code which I...

CircleCI 2.1 build failing

I am having some issues setting up my CircleCI config.yml file to accommodate a Cypress e2e test after I upgraded it to version 2.1. It keeps failing with the following error: #!/bin/sh -eo...

Install google chrome for python selenium in a google cloud run app

I'm trying to use selenium in a cloud run app that I'm working on. The app works correctly on my local machine but it's not working after I deploy it on google cloud run. The error I'm getting is...

Webdriver not working in Docker container

I'm trying to deploy my scraper on Google Cloudrun, however I'm getting below error. selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited...

Puppeteer in Gitlab CI/CD, testing in Headfull browser not working

I have a puppeteer project for testing my main application, that has some features that relies on visiblity, so have to be tested in headful mode. I wanted to be able to start the testing script...

Failed to launch Base! /app/.local-chromium/Linux-706915/chrome-linux/chrome: ... libX11.so.6

I have an instance of puppeteer-sharp running on ASP.NET Core 3.1 that works fine locally. For deployment, it gets built in a docker container and deployed to a K8 dev cluster. The docker...

Running Headless Chrome Puppeteer and Xfvb in a Node.js Docker Container, trouble running image

Im trying to run a Puppeteer script in a docker container with Xfvb so that I can run headless: false on my production app, which is the only way my script will get the required output from the...

Getting Symfony\Component\Process\Exception\ProcessFailedException while downloading a pdf using Puppeteer

I am using puppeteer to download a pdf. I have installed the puppeteer using the following commands. 1.curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - 2.sudo apt-get install -y...

Headless Tor on Ubuntu + Selenium WebDriver (Kotlin) + Docker

I'm trying to build Docker image with Tor Browser and my simple Kotlin application inside. My application is functioning well locally on MacOS, but when I try to run it inside Docker container, it...

Deploying a Dockerized node app onto Heroku and using Xvfb with puppeteer, cannot launch browser

Puppeteer version: 5.5 Platform / OS version: Docker container deployed on Heroku Node.js version: latest I have set up puppeteer scripts that live in a docker container, so that they can be run...

Building Suricata could not compile 'der-parser'

I'm trying to build Suricata following the tutorial of [Rapid7][1] I did it before, but in the new machine I stack at this problem... My steps: # suricata static build apt-get install...

Error: Failed to launch the browser process! Puppeteer

I have written some test cases and I am using puppeteer on linux with Docker. When I try to run it, I can get this below error: "before all" hook: codeceptjs.beforeSuite for...

Gitlab runner ECS fargate build docker images

I have moved my gitlab-runner infrastructure to AWS ecs fargate and now it is working fine. But I have problem, I have a .gitlab-ci.yml file and has following commands: stages: -...

Passing no-sandbox but still getting error 'Running as root without --no-sandbox is not supported.`

I was able to get it working using the node user and setting up a sandbox using --cap-add=SYS_ADMIN but AWS ECS Fargate does not support adding SYS_ADMIN as a linux parameter. Therefore, I am...

Heroku deployment -Unable to locate package Aptfile

I built an app which uses geopackages/GDAL deployed via Heroku. So I added the buildpack-apt as described here. I included an Aptfile in the directory of my project with content gdal-bin I get...

Firefox headless not working within Docker as non-root user

As the title says, I'm having trouble running Firefox in headless mode inside a Docker container as a non-root user. Consider the following Dockerfile, built with docker build -t firefox . FROM...

How to deploy google cloud functions using custom container image

To enable the webdriver in my google cloud function, I created a custom container using a docker file: FROM python:3.7 COPY . / WORKDIR / RUN pip3 install -r requirements.txt RUN apt-get update...

Find the latest version of sdk-tools-linux-*.zip

I use Travis to run my JUnit tests on Android via the emulator. This works very well so far. However, how can I determine what the latest version of sdk-tools-linux-*.zip is? Currently, I am using...

How to record Video with Audio from a puppeteer instance from a docker container

I'm trying to build a simple server that basically: opens a webpage with a puppeteer instance. records the webpage and save the video file. I was able to implement this with puppeteer-stream and...

playwright._impl._api_types.Error: Host system is missing dependencies´╝č´╝č

enter image description here [email protected]:/app# vim test.py [email protected]:/app# python test.py Traceback (most recent call last): File "test.py", line 13, in run(playwright) File...

Run puppeteer headful in docker container when the docker host is windows

I have dockerized two services: web frontend(containing the gui in angular accessed on port 3000) backend(that has puppeteer dependency for extracting data from a web page accessed on port...

Puppeteer not working NodeJS 17 on Arch Linux

I've started working with Puppeteer and for some reason I cannot get it to work on my box. This error seems to be a common problem (SO1, SO2) but all of the solutions do not solve this error for...

How to install libappindicator1 on Python of Docker image?

I'd like to install goole chrome on Python of Docker image. So, I need install libappindicator1. However when I build this Dockerfile, I got error on libappindicator1 Dockerfile FROM...

Puppeteer on Docker M1 Mac fails to open new page (`Target.createTarget`)

I'm unable to launch a new page using Puppeteer within Docker, on an M1 Mac. Versions Docker: version 20.10.11, build dea9396 Node: 16.13.1 MacOS: 12.0.1 (21A559) Puppeteer: 13.0.1 M1 Chip Error...