ballser.blogg.se

Install chromedriver in docker container
Install chromedriver in docker container








install chromedriver in docker container

N3.9/site-packages/Browser/wrapper/node_modules/playwright/.local-browsers/chromium-901522/chrome-linux/chrome) usr/local/lib/python3.9/site-packages/Browser/wrapper/node_modules/playwright/.local-browsers/chromium-901522/chrome-linux/chrome: /usr/lib/libasound.so.2: no version information available (required by /usr/local/lib/pytho ImaryPointerType=4,availablePointerTypes=4 -no-sandbox -no-startup-window e=basic -use-mock-keychain -no-service-autorun -user-data-dir=/tmp/playwright_chromiumdev_profile-MckehO -remote-debugging-pipe -headless -hide-scrollbars -mute-audio -blink-settings=primaryHoverType=2,availableHoverTypes=2,pr NterType=4,availablePointerTypes=4 -no-sandbox -no-startup-window Ic -use-mock-keychain -no-service-autorun -user-data-dir=/tmp/playwright_chromiumdev_profile-MckehO -remote-debugging-pipe -headless -hide-scrollbars -mute-audio -blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPoi Sable-ipc-flooding-protection -disable-popup-blocking -disable-prompt-on-repost -disable-renderer-backgrounding -disable-sync -force-color-profile=srgb -metrics-recording-only -no-first-run -enable-automation -password-store=bas Isable-extensions -disable-features=TranslateUI,BlinkGenPropertyTrees,ImprovedCookieControls,SameSiteByDefaultCookies,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose -allow-pre-commit-input -disable-hang-monitor -di usr/local/lib/python3.9/site-packages/Browser/wrapper/node_modules/playwright/.local-browsers/chromium-901522/chrome-linux/chrome -disable-background-networking -enable-features=NetworkService,NetworkServiceInProcess -disĪble-background-timer-throttling -disable-backgrounding-occluded-windows -disable-breakpad -disable-client-side-phishing-detection -disable-component-extensions-with-background-pages -disable-default-apps -disable-dev-shm-usage -d Keyword 'Take Screenshot' could not be run on failure:Įrror: Tried to take screenshot, but no page was open.Įrror: browserType.launch: Protocol error (Browser.getVersion): Browser closed. $ docker run -rm -it -v "/path/to/testfolder:/opt/robotframework/tests" robot-browser:latest

install chromedriver in docker container

Then building and running it: $ docker build. RUN pip3 install -r /tmp/requirements.txtĮNV PYTHONPATH=$PYTHONPATH:/opt/robotframework/tests Any ideas if this would be fixable or am I better off using debian-based images?ĭockerfile: FROM ppodgorsek/robot-framework:latestĪpk add bash curl sudo build-base unixodbc-dev unixodbc freetds-dev gcc g++ curl gnupg iputils nodejs libressl-dev alsa-lib libbz2 & \ĬOPY. Building the image is successful but when running a simple example test using browser, it seems to be missing some libraries. Has anyone had success using browser on alpine-based images? I’m using ppodgorsek/robot-framework as the base image and created a new image with browser and a couple other things in it.










Install chromedriver in docker container