SEARCH

How-To Geek

How to Automate Repetitive Web Browser Tasks With iMacros

image

Computers are supposed to automate repetitive tasks – if you find yourself submitting forms over and over or repeatedly navigating a website by hand, try iMacros. It’s easy-to-use – all you have to do is perform an action once.

iMacros is ideal for anyone that does repetitive tasks in their web browser, whether you’re an average user repeatedly submitting tedious forms or a web developer performing regression testing across a complex website.

Getting Started

The iMacros extension is available for Mozilla Firefox, Google Chrome, and Internet Explorer.

After installing it, you’ll find an iMacros icon on your browser toolbar. This icon opens the iMacros sidebar.

image

Recording a Macro

The Record button allows you to record browser actions. iMacros keeps track of them and can play them back later. You can record practically anything you can do in your browser, from opening tabs to performing actions on websits. iMacros can also be a powerful form filler capable of filling out and submitting forms across multiple web pages.

We’ll create a really basic macro to show you how it works. First, we click the Record button.

image

iMacros starts recording. As we can see, the macro will activate the first tab and load the How-To Geek website, since that’s the website we had open when we started recording.

image

Next, we’ll use the search box on the How-To Geek website to perform a search.

image

iMacros saves our macro after we click Stop. We can click the Play button to play back the macro and iMacros will visit How-To Geek, select the form field, enter our search query, and submit the form. While you can achieve this result simply by bookmarking the search page here on How-To Geek, some websites aren’t as convenient. On websites that force you to submit a form field – or multiple form fields – to reach a destination page, you can use a macro to save time.

This was an extremely short, basic macro. You can add as many actions as you want to the macro – after submitting the form, it could open several new tabs, navigate to websites, and perform other actions.

Macro Bookmarks

You can even save a macro as a bookmark. After renaming the saved macro with the Rename option, right-click it and select Add to bookmark. You’ll be able to launch your macro from your bookmarks with a single click.

image

Better yet, the macro will synchronize between your computers using your browser’s bookmark sync feature if you select the Make Bookmarklet option.

image

A Few Tricks

iMacros offers a few other features you can use while recording a macro. For example, you can save a page to disk or take a screenshot of it using either of the buttons on the Record pane.

image

To schedule a macro and have it run automatically, save the macro as a bookmark and install an extension like My Weekly Browsing Schedule for Firefox. , which allows you to automatically launch bookmarks. You can have the macro run automatically – for example, taking a screenshot of a web page every hour.

You can schedule other actions, too – for example, press Record and send an email in Gmail to create an email-sending macro. Combine the macro with a scheduling add-on and you’ll be able to schedule and automatically send emails.

Demos

You can run one of the included demo macros to get a feel for iMacros. Just select a macro and click the Play button. For example, the Demo-Open6Tabs macro opens six different browser tabs and loads a web page in each of them.

image

If you want to see how a macro works, you can right-click it and select Edit Macro to view its source. While you can write and edit macros by hand, you don’t have to – the Record button will do the tedious macro-writing for you.

image


iMacros offers a lot of flexibility – anything you can do in your browser, you can automate. Do you use iMacros for anything clever? Leave a comment and let us know.

Chris Hoffman is a technology writer and all-around computer geek. He's as at home using the Linux terminal as he is digging into the Windows registry. Connect with him on Google+.

  • Published 05/12/12

Comments (6)

  1. Steve

    It appears this is no longer is working in Chrome… http://forum.iopus.com/viewforum.php?f=21

  2. john3347

    I don’t need ANYTHING whose name begins with a lower case “I” on my computer! When a company knows no better capitalization rules than to name EVERY product they produce with improper capitalization, I also have no confidence in any of their products.

  3. rg

    True! Also , you should have nothing to do with people whose ID’s do not start with an uppercase letter!

  4. Fred i am Wright

    iMacros works very well. Thanks HTG for the heads up on this. Using several email addresses, and signing in and out will no longer be such a pain.
    Read about, downloaded it, and had it up-and-running in about 5 minutes. I do feel it wouldn’t work any differently if it were renamed.

    We needed to block two exits in the garden to prevent our dogs escaping. I simply refuse to use ANYTHING (Yes I just shouted at you !) that includes the word GATES. I simply will NOT have GATES on my property. – Just a bit of useless information that is off topic and nothing to do with reviewing any nice free software.

  5. Vendetta

    @john3347, I don’t remember reading words typed all in capitals in any book. Since you’ve also been updated with the Internet Lingo 1.0 you should accept others getting the update too. lolz

  6. JD Rosen

    How would you gang up multiple anti virus programs to load them sequentially and run all in sequence with one button?

Enter Your Email Here to Get Access for Free:

Go check your email!