A hybrid Python test automation framework using Pytest for both UI (Selenium) and API (requests) testing. Features include @dataclass-based data modeling, YAML test data, Allure/HTML reports, retry ...
Webスクレイピングやブラウザ操作の自動化をしたいけど、Seleniumの初期設定で躓いていませんか? この記事では、Seleniumの環境構築から実際に動くコードまでを、初心者でも理解できるように解説します。 実務では、様々なオプションを設定します。
Selenium GridとPythonのコンテナを作成して並列実行のテストをする。 yahooのトップ画面をスクショするだけのプログラム。 3並列で実行するプログラムをいかに載せている。並列数を変えるときはmax_workersを変更する。 from selenium import webdriver from concurrent import ...
Selenium WebDriver -> To interact with web elements and perform actions on web pages. Python -> To write test scripts and framework code. Pytest or Unittest -> To organize and run your test cases.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する