Rufaydium-WebDriver
Script error: No such module "Draft topics". Script error: No such module "AfC topic".
Original author(s) | Xeo786 |
---|---|
Initial release | 2022-April-11[1] |
Stable release | 1.6.3
/ 2022-June-22[2] |
Repository | github.com/Xeo786/Rufaydium-Webdriver |
Written in | AutoHotkey |
Engine | |
Operating system | Microsoft Windows |
Type | Automation, Web testing |
License | GPL-3.0 |
Search Rufaydium-WebDriver on Amazon.
Rufaydium is a free and open-source custom library written in AutoHotkey, Utilizes WebDriver[3] API to remotly instruct Web browser using Restful resquests, it uses Object-orientation syntax, methods similar as JavaScript[4] to manipulate Document Object Model (DOM) and also programmed to update Webdriver according to web browser.[5]
Support[edit]
Rufaydium is written for Autohotkey, an easy-to-learn scripting language for Microsoft Windows, it uses W3C web driver standard commands[6], therefore, it supports all web browsers based on Chromium web browser, including Firefox on Microsoft Windows platform.[7]
Setup[edit]
Rufaydium does not need any special setup, it only requires Autohotkey to be installed, which will not even take a minute.
Example[edit]
Following example will import library, runs chromedriver[8] in case driver not available will download latest Driver, creates session, navigates, grab element, send text to element and tells how to terminate browser and driver processes.
#Include Rufaydium.ahk
ChromeDriver := new Rufaydium()
Page := ChromeDriver.NewSession()
Page.url := "https://www.autohotkey.com/"
e := Page.querySelector("#keywords")
e.sendkey("sometext")
msgbox, Press f12 to close browser and Driver
return
f12::
ChromeDriver.QuitAllSessions()
ChromeDriver.Driver.Exit()
return
References[edit]
This article "Rufaydium-WebDriver" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Rufaydium-WebDriver. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.