How to solve cyclic dependencies while installing software on linux?

I am new to the computing world. My intention is to figure out a generic approach to solve cyclic dependencies while installing new software on Linux, if it exists. Here I am using the case of...

selenium.common.exceptions.WebDriverException: Message: Service chromedriver unexpectedly exited

I am aware of very similar questions having been asked already but even after a few hours of googling, researching and comparing I can't figure out what the problem is. My ultimate goal is to do...

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...

NodeJS 'appendFile' not creating file in Docker container

I have an application that creates a few CSV files in its working directory while it runs. The application runs fine outside of my docker container, but when I run it within, I get an...

its possible use puppeter with robotjs in docker?

im trying to run a puppeter code but works except the part of user intro and type inputs how i could solve , please help me my code works click in upload input but fail when i use robotjs for...

KeyError while trying to run Selenium-pytest in Docker Container

I am trying to run pytest Test Framework with Docker. However I am encountering the below error while running the...

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...

failed to load command: rake on Rails Kubernetes

I'm trying to deploy a Rails app to Kubernetes but my entrypoint script tries to run rake commands which results in an error. + stat -c %u /opt/consul/Gemfile + USER_UID=0 + stat -c %g...

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...

Heroku requirements.txt dependencies not installing, returning ImportError: No module named selenium

I'm trying to deploy a Python script on Heroku that utilizes Selenium. I have my Python script file, Procfile, requirements.txt(created via pipfreeze), and runtime.txt files all created in my root...

Devops CICD run ReactJS application while testing with jest + puppeteer

Scenario I'm working on getting my end-to-end tests to work in a GitLab pipeline. Currently all the tests run locally but I'm having an issue getting them to run using GitLab's continuous...

Google Chrome 84 in Python 3 Docker Container Is Failing

I'm extending a python 3 docker image to run chrome headlessly for a robot framework test library. Chrome was working, but is now failing with this error: (unknown error: DevToolsActivePort file...

Using puppeteer-extra with stealth mode in docker

Trying to use puppeteer-extra and puppeteer-extra-plugin-stealth in docker. When I use the recommended puppeteer Dockerfile I get the errors UnhandledPromiseRejectionWarning: Error: Failed to...

Azure Function deployed via Azure DevOps pipeline not executing

I have created an azure pipeline to deploy a custom docker image with an azure function with the following config. Though the config works in terms of build but none of the functions are running...

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...

Cannot install proj 7.2.0

I am on Ubuntu 19.10 and I am trying to install proj 7.2.0 According to the website I should use this: sudo apt-get install proj-bin But it seems that this command installs version...

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...

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...

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...

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...

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...