installing firefox for OpenShift DIY cartridge - firefox

I need to scrap websites with python (selenium) so i need to install Firefox or chrome or ... .
with openshift servers how could i install Firefox in an OpenShift DIY cartridge?
Thanks a lot.

Since there is no xwindows system installed on OpenShift, I dont' think that firefox will be able to either 1.) be installed or 2.) run on the platform.
You would be better off using something like the nokogiri gem with Ruby, or a python/php library for scraping web content. You might also consider doing the scraping on your own computer, then upload the information that is needed by your website if you HAVE to go the firefox/chrome route.

There are instructions for running Selenium tests in Firefox on a headless server on the OpenShift blog.
https://blog.openshift.com/selenium-ruby-jenkins/

Related

kubernetes can you install an entire OS in a pod? And perform selenium tests

So i'm trying to find a good way of testing the Safari web browser. I've been looking at kubernetes which seems like a good fit for most browser testing for browsers such as Chrome or Firefox with Selenoid or Moon. Safari is a different beast however. It seems like you need to install the entire OS just to test the browser. So what would be a good solution to this? Should i even bother with a cluster?
No you cannot install safari in container.
Safari can be installed only on MacOS, but unfortunately, you cannot run full OS in a container.
Even if you could, I could not help you because MacOS is a proprietary software and macos licence doesn't allow for installing macOS on devices other then Apple's.

How to use and install DingTalk on Ubuntu 16.04?

How to use and install DingTalk on Ubuntu 16.04?
I have tried with some information in this link.
but It is not successful.
Looking for : command line to install dingtalk ubuntu.
I could not find any working command line solution to install DingTalk in Ubuntu but I find some alternate like chrome app.
I am able to add following chrome app and user like native app.
Steps :
Add DingTalk app in your chrome app with given this link.
And follow below screenshots we will be user DingTalk in nay OS with Chrome browser like Native app.
Lunch app and Scan QR code from mobile version of app from your Mobile device Dingtalk it will works.
If any one find alternate which is better then this please share.
I have found one more link Try it if work for others, But I have tried but it did not work for me.

Web scraper : problem installing chromium

General Description :
I have a Laravel application that scrapes a certain website, using Chromium for headless browsing.
So far I've been working on my localhost and things are going fine.
The problem is :
Trying to deploy this app on my hosting, I wasn't given the authority to install chromium.
My question is :
Is there anyway to install chromium other than sudo apt-get install chromium-browser ?
Can you recommend any other way to crawl the actual html of a page after being rendered ?

How to Deploy a jRuby App?

Just wondering if anyone has any experience on how to "deploy" a JRuby application to another server?
That is I am developing a jRuby Application on Windows, and I want to eventually deploy it to a host of Linux/Unix Servers. So specifically -
How easy is it too deploy or just a nightmare?
Would I have to recompile all the "gems" (dependencies) or try figure out a way to bundle them as a deploy package? Or would I have to configure jRuby individually per server as I did on my Dev Machine (Windows Box)
PS. The App is made up of Client/Server.
Thanks
Consider using trinidad or warbler; it wraps up most of these issues.

RoR Setting Windows environment

I'm a rails developer and I always programmed on linux environment using Netbeans and RVM.
I would like to try a migration on windows using the IDE rubymine that I've already downloaded. Is there any tutorial or instructions to set up the environment for people like me that are approaching on Windows in Rails for the very first time? (installing ruby the gems etc ? ).
There's a section on Windows instalation in the excellent Rails Tutorial
I also found this blog entry that walks you the process step-by-step
When installing on Windows myself I used this video tutorial from Tekpub, but you'll need to pay to access it.
I recommend you http://rubyinstaller.org/ or http://www.railsinstaller.org/
I did it on my machine and everything works fine, you can add later pik (a multi ruby manager)

Resources