You can edit almost every page by Creating an account. Otherwise, see the FAQ.

Rufaydium-WebDriver

From EverybodyWiki Bios & Wiki

Script error: No such module "Draft topics". Script error: No such module "AfC topic".

Rufaydium
Original author(s)Xeo786
Initial release2022-April-11[1]
Stable release
1.6.3 / 2022-June-22[2]
Repositorygithub.com/Xeo786/Rufaydium-Webdriver
Written inAutoHotkey
Engine
    Operating systemMicrosoft Windows
    TypeAutomation, Web testing
    LicenseGPL-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]

    1. Rufaydium-Webdriver
    2. "Rufaydium-Webdriver-releases".
    3. WebDriver
    4. Element.methods examples
    5. automate-chrome-with-rufaydium
    6. W3C web driver standard commands
    7. Web Driver Support
    8. chromedriver



    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.