ppodgorsek / docker-robot-framework

Robot Framework in Docker
https://cloud.docker.com/repository/docker/ppodgorsek/robot-framework
MIT License
346 stars 240 forks source link

WebGL/OpenGL Enablement #221

Open adamwhitson opened 4 years ago

adamwhitson commented 4 years ago

I am trying to test a web app that utilizes Mapbox to serve map tiles and am unable to because it requires the browser to use WebGL. The short story to what I'm looking for is how to enable GPU for this docker image. Is there a simple way to do that? So far in all of my Googling I have struggled to find a way. Attached is a screenshot captured from the robot Logs. If I run the tests locally, not in a docker container, it passes because my Chrome browser has GPU enabled. selenium-screenshot-32

UltimateDogg commented 4 years ago

It is not a built in thing yet. First wed have to see if chrome for alpine supports webgl (it has to be compiled with it). If so than we need to install swiftshader and anything else it requires.

UltimateDogg commented 3 years ago

Tried to implement based on https://github.com/Zenika/alpine-chrome