Rufaydium
AutoHotkey WebDriver Library to interact with browsers. Rufaydium will automatically try to download the latest Webdriver and updates Webdriver according to browser Version while creating Webdriver Session.
Supported browsers: Chrome, MS Edge, Firefox, Opera.
Rufaydium utilizes Rest API of W3C from https://www.w3.org/TR/webdriver2/ and also supports Chrome Devtools Protocols same as chrome.ahk
Download
I tried my best to not to change Functions from V1 to v2 but here are some
I did not change Readme.md I will update that in next,
Changes
V1 >> V2
Driver will be downloaded into Bin folder, custom path no supported in v2.0.1
Chrome := new Rufaydium(DriverName:="chromedriver.exe",Parameters:="--port=0") >> Chrome(instance:="Chrome",CustomPort:=0,Info:=1,TrayIcon:=1) ; will add parameters soon for now its Customport
Json conversion was Object based >> Map() based
Session.Switch(tabid) >> SwitchTab(Tabid)
Session.SwitchTab(tabnumber) >> SwitchTabs(tabnumber)
Session.Print(savepath) >> PrintPDF(savepath) ; now works without headless mode
Chrome.NewSession(Binarypath) >>Chrome.NewSession(callbackfunc, Binarypath)
Added
McodeBased cJson thanks to GeekDude
Websocket thanks to Thqby
Callback support
Capabilities.setUserProfile('emailaddress') ; chrome and Edge supports email address
Documentation
Thanks to all those who supported me and Helpd me learned AHK Specially Joe Glines & RaptorX
Rufaydium V2.0.3 Beta
Rufaydium V2.0.3 Beta
Last edited by Xeo786 on 23 Feb 2024, 10:09, edited 5 times in total.
"When there is no gravity, there is absolute vacuum and light travel with no time" -Game changer theory
Re: Rufaydium V2 Beta
Documentation added
"When there is no gravity, there is absolute vacuum and light travel with no time" -Game changer theory
Return to “Scripts and Functions (v2)”
Who is online
Users browsing this forum: No registered users and 21 guests