Rufaydium V2.0.3 Beta

Post your working scripts, libraries and tools.
User avatar
Xeo786
Posts: 760
Joined: 09 Nov 2015, 02:43
Location: Karachi, Pakistan

Rufaydium V2.0.3 Beta

Post by Xeo786 » 17 Feb 2024, 07:32

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
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

User avatar
Xeo786
Posts: 760
Joined: 09 Nov 2015, 02:43
Location: Karachi, Pakistan

Re: Rufaydium V2 Beta

Post by Xeo786 » 17 Feb 2024, 07:36

Documentation added
"When there is no gravity, there is absolute vacuum and light travel with no time" -Game changer theory

docterry
Posts: 5
Joined: 13 Jun 2014, 15:51

Re: Rufaydium V2.0.3 Beta

Post by docterry » 26 May 2024, 18:31

Is there a way to disable notification sound and popups?

I have tried opening the driver with

Code: Select all

rufaydium("chrome",,0,0)
The systray icon remains unchanged. But the popups still appear.

Is there a way to keep the sound and popups from appearing?

Thanks!

Post Reply

Return to “Scripts and Functions (v2)”