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.
Related
I'm woking on a selendium and airflow project for bing rewards and I'm hoping I don't have to install Microsoft edge as my computer is always running out of space. Does anyone know off hand if it's possible to make Selenium scripts for a driver if you dont have the dmg installed on your computer?
yes you can do that using RemoteWebDriver.
but make sure your remote device, cloud etc must have that respective browser which is pointed by RemoteWebDriver.
Refer below:
https://github.com/SeleniumHQ/selenium/wiki/RemoteWebDriver
Example code:
https://gist.github.com/djangofan/4127074
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?
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
I am trying to open API explorer on chromium browser for Ubuntu: (localhost:8080/_ah/api/explorer)
I got the : "The API you are exploring is hosted over http ..." error
I can see ways to solve the issue on Windows and MAC, but couldn't find how to solve it on Linux, Ubuntu.
Thanks for the help
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.