App內體驗更好打開

[AHK #23] 網頁自動化Selenium WebDriver安裝

簡睿學堂
簡睿學堂
12粉絲
4 次觀看·2024年1月22日

Selenium WebDriver是Selenium工具集合的一種。Selenium是使用於網頁自動化測試的工具集合,集合裡主要有Selenium IDE與Selenium WebDriver兩大類。

✅ 說明文章: https://jdev.tw/blog/6011/ (有較完整說明,務必檢視)
✅ 腳本原始碼:https://gist.github.com/emisjerry/f9587a2e6d0cf8fc19ae5eaa366f1e61

要讓AutoHotkey或VB等使用Selenium WebDriver,安裝步驟如下:

1. 安裝Selenium Basic:https://github.com/florentbr/SeleniumBasic/releases
2. 安裝需要的瀏覽器Driver:
✅ ChromeDriver.exe:https://chromedriver.chromium.org/downloads
✅ FirefoxDriver.exe:https://github.com/mozilla/geckodriver/releases
✅ Edge:https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/#downloads
✅ IE 32-bit:https://goo.gl/9Cqa4q
✅ IE 64-bit:https://goo.gl/AtHQuv
✅ Opera:https://github.com/operasoftware/operachromiumdriver/releases

其他瀏覽器的WebDriver與各式程式語言的開發套件可由 https://www.seleniumhq.org/download/ 找到。

✅ 相關連結
💥 Selenium WebDriver:https://www.seleniumhq.org/projects/webdriver/
💥 Getting started - ChromeDriver - WebDriver for Chrome:https://sites.google.com/a/chromium.org/chromedriver/getting-started