Selenium Python - Install Selenium, Chromedriver, Chrome on Ubuntu, Debian, Python - Part 1b

preview_player
Показать описание
0:00 - install Google Chrome browser from .deb source file
4:36 - skip this part - bad editing repeat of install Google Chrome
8:29 - install chromedriver
16:45 - install pip3
19:21 - install Selenium
20:21 - create a directory and python test script
The last few minutes of the video was cut off (I should have checked after editing)
I also did an initial part 1a for chromium browser instead of google-chrome.

if using google-chrome then:
DRIVER_LOCATION = "/usr/bin/chromedriver"
BINARY_LOCATION = "/usr/bin/google-chrome"

if using chromium browser then:
BINARY_LOCATION = "/usr/bin/chromium-browser"

Beginner install Selenium Python on Ubuntu Debian, Chromium Browser - Part 1a
Chromium is a preferred choice of browser for most Linux distros,
but if you prefer to install and use Google Chrome then follow Part 1b.
Google Chrome tends to be a little friendlier with minor aspects of automation that I'll cover later.
Note that Google Chrome is actually Chromium Browser but with Google's add-on's, snooping and personal stamp on it

Рекомендации по теме
Комментарии
Автор

This is what I am JUST looking for!! You make my day :)

kyungjunlee
Автор

Thank you, sir, for this guide!
I had to add to my .py file this code to make it work:

chrome_options = Options()

% WINDOW_SIZE)

alexpilipenko
Автор

Thank you very much, worked like a charm

thodorispaparrigopoulos
Автор

I am so thankful for the playback speed. I never had to crank a video to 2x the speed...

workscripts
Автор

Thank you very much.. This was so helpful

dewdrop
Автор

i keep getting this error on ubuntu 20.04 on AWS:
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

shner
Автор

i follow the same steps in vps linux ubuntu hosting but chrome is crashing

Rahulchamoli
Автор

it says me, options is not defined, what is happening? thanks

bestrecapsjp
Автор

Mine doesn't support amd version i need a arm version link

thetempest
Автор

Can you please describe how to use selenium webiver in linux cron tab ?

valakaushal
Автор

any luck just using docker for the drivers and so on?

nikschuetz
Автор

The time so many people must LOST searching the final of the video, is absolutly crazy! It's better to delete that "Endless Tutorial". It's not a entertainment. We are here trying to study, and we can't lose time, man. You tried to help, but the time we lost searching the continuation in the middle of the proccess, make us angry and sad.

SandraSamyla
Автор

How i save the script after making the final step?

foooefacts
Автор

audio is but this is very important vedio for installation i am very disappointed about audio please make a vedieo with clear audio

manikandanv