兩邊的前次修訂版 前次修改
| |
tech:rapi_webtest [2023/11/21 12:07] – [在 Windows 環境安裝 Selenium] jonathan | tech:rapi_webtest [2023/11/21 12:24] (目前版本) – [設定 Rapi 啟用 Selenium] jonathan |
---|
====== [Draf]Raip(SideeX) Runner Web Test Tools ====== | ====== Raip(SideeX) Runner Web Test Tools ====== |
* [[https://github.com/RapiTest/rapi|Rapi]] 前身是 [[https://hackmd.io/@sideex/history-zh|SideeX]] , 但改成 Chrome 的 Extension 方式進行安裝使用, 若要整合 [[https://www.selenium.dev/|Selenium]] 則需要自行額外安裝 | * [[https://github.com/RapiTest/rapi|Rapi]] 前身是 [[https://hackmd.io/@sideex/history-zh|SideeX]] , 但改成 Chrome 的 Extension 方式進行安裝使用, 若要整合 [[https://www.selenium.dev/|Selenium]] 則需要自行額外安裝 |
| |
</cli>++看畫面|{{:tech:2023-11-21_120356.png|}}++ | </cli>++看畫面|{{:tech:2023-11-21_120356.png|}}++ |
| |
| ===== 設定 Rapi 啟用 Selenium ===== |
| - 下載 [[http://chromedriver.chromium.org/downloads|chromeDrive(Chrome)]] Exp. [[https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_win32.zip|ChromeDriver 114.0.5735.90]] 解壓縮後將 exe 檔放到和 selenium-server 相同目錄 ++看畫面|{{:tech:2023-11-21_121605.png|}}++ |
| - 下載 [[https://github.com/mozilla/geckodriver/releases|geckodriver(Firefox)]] Exp. [[https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-win64.zip|geckodriver-v0.33.0]] 解壓縮後將 exe 檔放到和 selenium-server 相同目錄 ++看畫面|{{:tech:2023-11-21_122012.png|}}++ |
| - 設定 Rapi |
| - Playback Throuth WebDriver |
| - 勾選 chrome 與 firefox |
| - ++看設定畫面|{{:tech:2023-11-21_122154.png|}}++ |
| - 可以將透過 rapi 錄製的 json 檔撥放時透過 WebDriver |
| |
===== 參考網址 ===== | ===== 參考網址 ===== |