0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Start to Selenium using python

Last updated at Posted at 2020-10-09

知り合いからテストツールの色々聞かれて、
Seleniumへ挑戦することになった。

browserの拡張機能を使ってから

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   

上のサイトでダウンロードしようとしたらVERSIONによって再ダウンロードする必要がある。

pip install webdriver_manager

してダウンロード後
https://github.com/SergeyPirogov/webdriver_manager 参照して

```python:
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager

browser = webdriver.Chrome();

from webdriver_manager.chrome import ChromeDriverManager追加

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?