Start to Selenium using python

My acquaintance asked me about various test tools, I decided to challenge Selenium.

After using the browser extension Selenium IDE https://github.com/SeleniumHQ/selenium-ide

Selenium using Python pip : Virtualenv/VirtualenvWrapper

from selenium import webdriver

browser = webdriver.Chrome();


 selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home   

If you try to download it from the above site, you need to re-download it with VERSION.

pip install webdriver_manager

After downloading
https://github.com/SergeyPirogov/webdriver_See manager


#### **`python`**
```python

from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager

browser = webdriver.Chrome();

from webdriver_manager.chrome import Chrome Driver Manager added

Recommended Posts

Start to Selenium using python
Start using Python
Post to Twitter using Python
3 Reasons Beginners to Start Python
Web scraping using Selenium (Python)
Start python
How to install python using anaconda
Selenium and python to open google
[Python / Selenium] XPath
Updated to Python 2.7.9
From Python to using MeCab (and CaboCha)
Introduction to Discrete Event Simulation Using Python # 1
Python quick start
Try using Selenium
Log in to Slack using requests in Python
[Python] Start studying
Try to operate Excel using Python (Xlwings)
Reboot the router using Python, Selenium, PhantomJS
Dump BigQuery tables to GCS using Python
Introduction to Discrete Event Simulation Using Python # 2
Scraping using Python
"Backport" to python 2
How to start Python (Flask) when EC2 starts
I tried web scraping using python and selenium
#Monte Carlo method to find pi using Python
Procedure to use TeamGant's WEB API (using python)
Introducing 4 ways to monitor Python applications using Prometheus
I want to email from Gmail using Python.
How to deal with SessionNotCreatedException when using Selenium
Log in to Yahoo Business with Selenium Python
Convert STL to Voxel mesh using Python VTK
Environment construction procedure to operate chrome without installing python on Windows (using selenium)
Operate Redmine using Python Redmine
How to install Python
Fibonacci sequence using Python
Changes from Python 3.0 to Python 3.5
Changes from Python 2 to Python 3.0
Data analysis using Python 0
Rewrite Python2 code to Python3 (2to3)
How to install python
python decorator to retry
Python programming: I tried to get (crawling) news articles using Selenium and BeautifulSoup4.
Introduction to Python language
Data cleaning using Python
Introduction to OpenCV (python)-(2)
Using Python #external packages
Start CentOS 8 using VirtualBox
ScreenShot with Selenium (Python)
WiringPi-SPI communication using Python
Note to daemonize python
Age calculation using python
Introducing Python 2.7 to CentOS 6.6
Search Twitter using Python
Scraping with Selenium [Python]
Connect python to mysql
[Python MinMaxScaler] Normalize to 0 ~ 1
Python web scraping selenium
Name identification using python
Notes using Python subprocesses
Try using Tweepy [Python2.7]
python selenium chromedriver beautifulsoup