sye
sye

Reputation: 211

How to install ChromeDriver in RedHat Linux?

I am trying to use selenium on RHEL(Red Hat).

In order to use Chrome browser, I need to install the chromedriver.

Does anyone know how to install this, or what command I need to use? I did not find any resources on this that worked.

Really appreciate any help.

Thank you.

Upvotes: 1

Views: 16366

Answers (1)

PRagh
PRagh

Reputation: 92

I followed a process which worked for me.

I am using Redhat 7.4, and I've been through a lot to uninstall and install chrome and firefox, got partially successful with chrome and this is what I tried.

In the Linux terminal

Go to the root by typing

  • su -

Then type

  • rpm -qa

then (ctrl+f) and search for the keywords "google" or " chrome" or "mozilla" or "firefox" to check whether they are present or not and if they are available, then uninstall( remove ) them by the following command ( if you want to remove them )

  • yum remove (theWholeName)

this removes the application

Then install chrome by the following process

type this in terminal

then a package gets downloaded in your home folder

Then type the following command - this installs the packages

  • yum -y install (name of the downloaded folder with extension)

in this case it will be

  • yum -y install google-chrome-stable_current_x86_64.rpm

This installs google chrome and creates an icon under Application->Internet->googleChrome

IMPportant:

technically, by clicking this googlechrome icon- this should open the browser, but it doesn't open the browser for me, I dont know whats the problem and I appreciate any suggestion regarding this issue.

I open google chrome through terminal using this command

  • google-chrome --no-sandbox

this opens the chrome browser.

Upvotes: 1

Related Questions