European Edition | 4/4/2024

As many may know, I have taken over responsibility for the Stratux traffic alerting system ... Read More

AutoWWW 1.1 Released
11/9/2014 | Comments: 2

AutoWWW 1.1 has just been released for Linux. Windows builds do not exist yet, but ... Read More

Backups done right

Since this is a Blog, I've decided that I should start using it as such and therefore, ... Read More

More Blog Entries

Getting started

1. Installing AutoWWW

Nothing simpler than that! Windows users should simply download the .zip file for Windows, extract it and then run AutoWWW.exe from the directory (right now, only Windows Vista and up is supported. Support for Windows XP might come in a future version).

Linux users can simply use their package manager to install the downloaded .deb/.rpm package.
AutoWWW should then appear in the start menu in the "Internet/Network/Web Browsers" section.

2. The user interface

The UI is kept as simple as possible. The left side under the "Tab 0" is your browser window. Just as in any regular browser, web pages will be rendered there. The right side of the screen is split. The top part is your Macro/Code window. The bottom part is useful for debugging problems in your macros.
Finally, there is an Address bar and some buttons on top of the window.

3. Recording your first macro

Simply hit the "Record" button in the toolbar, type something in the Address bar and hit return. You will see the page load and on the right side - in the script window - some script-text will appear. You can also click links, fill in forms, etc. The script window will record all your actions as long as the record button is pressed. Click it again to stop recording.

4. Playing back macros

Playback is as simple as recording. Simply hit the "Play/Stop" button and watch the browser window do the same actions that you previously recorded.

5. Improving and adding logic to your macro

Now comes the only part of AutoWWW that might be a bit harder for some: The coding part. AutoWWW is completely flexible and can do almost anything, thanks to a complete programming language implemented in AutoWWW. I.e., you can program python in the script-window.

People that are used to programming should have an easy time here. Others might hover/click the "If...", "While...", "List[...]" and "Loop list..." buttons. These buttons will insert some basic logic parts in your script window.

To get a better understanding of what's happening there, you might want to take a look at a python tutorial. A list of those can be found here.

You should also check out the "Documentation" links on this page to do more advanced stuff with the browser that can't be done with the record button (such as setting proxies, executing JavaScript on the current page, checking the page text, etc.

Note: Everything that the script might print will be written in the "Script output". This can be very useful to find problems in your scripts. The JavaScript console is helpful for debugging JavaScript code and to detect problems in browser.execute_javascript('...') calls.