• Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Intro to DOS & AutoHotkey AutoHotkey FAQ1 AutoHotkey FAQ2

How to Automate Chrome with Rufaydium: Without Selenium or Debug mode

Automate Chrome with Rufaydium

</p> <h2>Automate Chrome with Rufaydium</h2> <p>

Automate Chrome with Rufaydium by Xeo786

New way to automate Chromium based browseres with AutoHotkey.
Here is the link on github and on AutoHotkey forum

WebDrivers

Watch this video to understand what Webdrivers are, how they are different from Selenium.

You can get the webdrivers here: ChromeWebdriver, EdgeWebdriver, FirefoxWebdriver


Overview of Rufaydium and AutoHotkey

In this video we discuss why Rufaydium has so much potential, some of the things we hope it has built into it, and the alternatives like Chrome.ahk and Selenium.

Rufaydium: a New Chromium Automation with AutoHotkey


Automate Chrome with Rufaydium and AutoHotkey First Tutorial

Our first Rufaydium tutorial we walk through how to set it up and how to Automate Chrome with Rufaydium
Automating Chrome with Rufaydium & AutoHotkey: #Getting started

How to use a Chrome Profile with Rufaydium and AutoHotkey


Connecting to and Using a Chrome profile with Rufaydium


08: Automating Chrome with AutoHotkey: How to handle EventListeners & custom edit fields

Automating Chrome with AutoHotkeyAutomating Chrome with AutoHotkey: handle EventListeners & custom edit fields


donate to GeekDudeIf you’re loving this, please consider donating to GeekDude!

Automating Chrome with AutoHotkey Script to Handle EventListeners & custom edit fields

Notes on handle EventListeners & custom edit fields

00:09     When web scraping, often there will be buttons I can’t press, text that doesn’t get “acknowledged” that it has been entered, etc.
Continue reading

07: How to Create and connect to new Chrome profiles with AutoHotkey

Automating Chrome with AutoHotkeyIn this short video GeekDude walks us through why we need to consider Chrome profiles and how to create / use them.

Create and connect to new Chrome profiles with AutoHotkey

donate to GeekDudeIf you’re loving this, please consider donating to GeekDude!

Notes from Create and connect to new Chrome profiles with AutoHotkey

00:09     There’s been a lot of confusion on Chrome profiles.  What they are, why you should concern yourself with them when using AutoHotkey.

00:23     Your Chrome profile is what keeps you logged into websites, connected to Google, etc.  Most of the time you won’t need access to your entire Chrome profile.  But you might want to start with a blank slate if you’re distributing your code to people.  Or you want to create a new instance of Chrome that you don’t want attached to an existing Chrome tab.  For any of those, you need to have a Chrome profile

01:17     This is because most people don’t have the remote debugging flag on their default shortcut.  If you launch chrome with debugging code, it will automatically group it with the current process window.

02:38     So instead of spawning a new Chrome window that is listening to the debug window, it will open a new page on the existing Chrome instance without the debugging access (even though you specified debugging)

02:52     So in order to get Chrome to open a new instance, you need to use the Chrome profile.

03:51     Create a folder  (name it what you want) and tell Chrome to use it the profile flag.  “–user data-dir” with your directory  i.e. “–user data-dir-C:\temp\newProfile”

05:18     Looking in the profile folder, you can see Chrome has generated a bunch of files.  Things like Cookies, browser history, etc.  Everything Chrome remembers…

05:47     If you’re targeting portable Chrome, making sure you have this profile set correctly can be a big deal!  If you use AutoHotkey to launch portable Chrome, it might still load the default profile.  Make sure you specify the Chrome profile!

07:32     Everywhere you would have used Chrome. In your script, use ChromeInst.  (i.e. Instead of Chrome.GetPage use ChromeInst.GetPage.

07:32     That tells Chrome to look for this new / specific instance of Chrome instead of the default version.  Remember, it’s only “new” right after you make it.

08:55     Chrome builds the sub folders / content

Thanks again GeekDude!!!

 

06: Chrome and AutoHotkey: Getting lists from page

Automating and ChromeHere we continue with GeekDude working with Chrome and AutoHotkey extracting data from a webpage.  This session we focus on getting lists and leverage JSON, Chrome.Jxon_Dump, JSON.stringify, Chrome.Jxon_Load and jQuery.

The great news is that GeekDude explained how we can see the Reddit site the way it was the below video!

By logging into https://old.reddit.com/r/AutoHotkey/, the HTML will be the same as in the video!

Chrome and AutoHotkey: Getting lists from page

donate to GeekDudeIf you’re loving this, please consider donating to GeekDude!

Notes: Chrome and AutoHotkey: Getting lists from page

00:05     Sometimes you want multiple items from a page.  Maybe all post titles, or all links form comments.

00:20     Looking in HTML we see there’s a lot going on.  We need to look at the structure BEFORE we get working on it.

Continue reading