webgl xvfb google chrome support - linux

how can i get webgl support. here's my setup?
linux (centos OS)
google chrome
xvfb to get google chrome running
chrome driver that selenium uses to run the tests
I need google chrome to have webgl support. how do I get that done?

Related

How can one install linux google chrome binary on a Mac?

I have a Django app that web-scrapes (using Selenium) that I am trying to deploy to google cloud. I am having issues with opening Chrome driver in the virtual environment on google's servers. I believe they are Linux.
I was able to install the linux version of Chromedriver into the virtual environment but I am getting a "cannot find Chrome binary" error as pictured:
https://imgur.com/a/Ib3x0ZW
I have done some research and it seems that this is because Google Chrome is not installed in the virtual environment. The links to install Google Chrome online all force me to download macOS versions.
How can I download Google Chrome (specifically its binary) on my Mac so I can put it in the virtual environment that will be run on linux?
I think that StackOverflow is not the proper place to ask for this kind of question.
You could try to find your problem in the following Google Chrome Help page.
If you don't find the answer in the previous link, you could ask for help in the Google Chrome Help Community.

Limit Google Chrome extension to select platforms

I have an extension which talks to a native application. This application only works on macOS or Windows. But when I add the extension to my browser, it is also synchronized automatically to platforms where it does not make sense such as Linux or Chrome OS.
I'd figured there would be an option in the manifest.json to limit the app to specific platforms but I can't find anything like that. Am I correct? Or is there a solution?
Extensions will be installed based on chrome login. So it will be installed on all devices with chrome login.
You can programmatically enable/disable your scripts after checking for supported platform OS.
Use this API in background script to collect platform details - API Link.
Related question: Detect operating system from Google Chrome Extension

How to configure headless browser using protractor on windows so that it can be run using team city without any GUI resolution issues?

How to configure headless browser using protractor on windows so that it can be run using team city without any GUI resolution issues?
Currently I am using chrome browser to run my UI automation test but at some page I am facing element not found issue due to resolution issue.
So I wanted to go for an headless browser.
Thanks.
Phantomjs is officially discontinued, so you must use headless Chrome. As for the instructions on how to set it up, follow instructions
Getting started with headless chrome can be found here

is there no more new chrome extension are allowed to publish for chrome browser?

I am a bit confused... I was reading the tutorial for developing chrome extensions. But once I reach the step where to release it, I saw the developer console this message.
Does it means that my chrome extension will no longer available for chrome browser on any other OS than Chrome OS?
Chrome Apps are not Chrome extensions. The change in policy applies to Chrome Apps, not Chrome Extensions.
Your Chrome extension will be available for users of Google Chrome on all OS platforms where Chrome supports extensions (i.e. not on Android).

Is is possible to package a .app for OS X?

I've read about Packaged Apps and played with the example apps. I can load them into my Chrome Canary, but I can't seem to find a way to build/package a .app for OS X. Is this not possible yet, or am I just missing something?
Previously Google Chrome packaged apps were only for Google Chrome. According to a recent blog post by Sriram Saroop, the product manager for Chromium, there is an available Chrome App Launcher to run Google Chrome packaged apps outside of the browser.
The Chrome App Launcher will be coming "soon" to Mac and Linux.

Resources