- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
>
pip install selenium
- [[Selenium/Python]]
- https://chromedriver.chromium.org/downloads
* 入門 [#l61b083f]
- PythonによるWebブラウザ自動操作の基本 ~Seleniumを活用する
-- https://www.insource.co.jp/python-gakuin/mail-backnumber/vol21.html
* findElement [#bb8c6de6]
- Information about web elements
-- https://www.selenium.dev/documentation/webdriver/elements/information/
--- https://www.selenium.dev/ja/documentation/webdriver/elements/finders/
- WebElementの親ノードをつかまえたい
-- https://seleniumer.hatenablog.com/entry/2016/01/25/071736
>
WebElement parent = myElement.findElement(By.xpath(".."));
* click [#gca4548a]
- Python Selenium click on element by xpath
-- https://stackoverflow.com/questions/46629257/python-selenium-click-on-element-by-xpath
* クッキー保存 [#f198166b]
- [https://self-development.info/%E3%80%90python%E3%80%91selenium%E3%81%A7%E3%82%AF%E3%83%83%E3%82%AD%E3%83%BC%EF%BC%88%E3%83%AD%E3%82%B0%E3%82%A4%E3%83%B3%E6%83%85%E5%A0%B1%EF%BC%89%E3%82%92%E5%88%A9%E7%94%A8%E3%81%99%E3%82%8B/ https://self-development.info/【python】seleniumでクッキー(ログイン情報)を利用する/]
- [[EditThisCookie]]
*スクロール [#yc03f6c6]
- [https://self-development.info/selenium%e3%81%a7twitter%e3%82%92%e3%82%b9%e3%82%af%e3%83%ac%e3%82%a4%e3%83%94%e3%83%b3%e3%82%b0%e3%81%99%e3%82%8b%e3%80%90python%e3%80%91/ https://self-development.info/seleniumでtwitterをスクレイピングする【python】/]
- How to scroll down the page till bottom(end page) in the Selenium WebDriver
-- https://stackoverflow.com/questions/42982950/how-to-scroll-down-the-page-till-bottomend-page-in-the-selenium-webdriver
* その他 [#fe124436]
- 4時間で学ぶ、効率的な自動テストスクリプトのメンテナンス
-- https://sites.google.com/site/testautomationresearch/teaching_materials/maintainable_script
「Selenium WebDriver」の使い方と、テストスクリプトを効率よくメンテナンス
する方法について、実際にプログラムを書きながら学べるチュートリアル形式教材です。