LoginSignup
1
0

More than 5 years have passed since last update.

WindowsのseleniumでFirefoxの操作方法メモ

Last updated at Posted at 2017-09-16

随時追加予定

手順

  1. Pythonを入れておく
  2. https://github.com/mozilla/geckodriver/releasesからwindows版をダウンロード
  3. ダウンロードして解凍後にPythonの実行ファイルと同じフォルダにexeファイルを入れる
  4. Pythonを起動する

from selenium import webdriver
browser=webdriver.Firefox() # この時にブラウザが開く
type(browser) # type
browser.get('http://google.com/') # ページ遷移

1
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
1
0