“Zainstaluj Chromedriver Linux” Kod odpowiedzi

Zainstaluj wiersz poleceń Chromedriver Linux

wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
Shiny Snake

Jak zainstalować Chromedriver w Linux

To install chromedriver:
$ sudo apt-get install unzip
$ wget -N http://chromedriver.storage.googleapis.com/2.29/chromedriver_linux64.zip -P ~/Downloads
$ unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads
$ sudo mv -f ~/Downloads/chromedriver /usr/local/share/
$ sudo chmod +x /usr/local/share/chromedriver
$ sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
$ sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver

It will be succesfully installed
To find the path write:
$ whereis chromedriver 
Real Rat

Zainstaluj wiersz poleceń Chromedriver Linux

npm install chromedriver
Armandres

Zainstaluj Chromedriver Linux

sudo apt-get install unzip &&
a=$(uname -m) &&
rm -r /tmp/chromedriver/
mkdir /tmp/chromedriver/ &&
wget -O /tmp/chromedriver/LATEST_RELEASE http://chromedriver.storage.googleapis.com/LATEST_RELEASE &&
if [ $a == i686 ]; then b=32; elif [ $a == x86_64 ]; then b=64; fi &&
latest=$(cat /tmp/chromedriver/LATEST_RELEASE) &&
wget -O /tmp/chromedriver/chromedriver.zip 'http://chromedriver.storage.googleapis.com/'$latest'/chromedriver_linux'$b'.zip' &&
sudo unzip /tmp/chromedriver/chromedriver.zip chromedriver -d /usr/local/bin/ &&
echo 'success?'
slgotting

Zainstaluj Chromedriver w Linux

Install via npm :

sudo npm -g install chromedriver
ln -sf /usr/lib/node_modules/chromedriver/lib/chromedriver/chromedriver ~/bin/chromedriver
Lonely Lobster

Odpowiedzi podobne do “Zainstaluj Chromedriver Linux”

Pytania podobne do “Zainstaluj Chromedriver Linux”

Więcej pokrewnych odpowiedzi na “Zainstaluj Chromedriver Linux” w Shell/Bash

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu