Selenium with Python¶ Author: Baiju Muthukadan License: This document is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Note This is not an official documentation. If you would like to contribute to this documentation, you can fork this project in GitHub and send pull requests. You can also send your feedback to my email: baiju.m.mail AT gmail DOT com. So far 6
動機 Recommendでこんな記事 を見つけた 結構大変そうだったから自分も同じことやってたので書いてみようと. インフルエンザニートしてて暇だった. 目的 Selenium Web Driverを使ってBrowserのScreenShotを取得する. 操作等は一切なし.それはまた別途説明すればええし. 実装 とりあえず同一階層上に"screen.png"というファイルを作成してそこにScreenShotを保存するだけのスクリプト. import os from selenium import webdriver # URL & File Name URL = "https://www.google.com" FILENAME = os.path.join(os.path.dirname(os.path.abspath(__file__)), "screen.png") # Open W
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く