Browser Automation
-
Upload
ehren-foss -
Category
Self Improvement
-
view
1.697 -
download
0
description
Transcript of Browser Automation
![Page 1: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/1.jpg)
Browser Automation
Using The Internet is an Skill to be Feared and Respected - Like
competitive eating but more useful professionally
@ehrenfoss | 512-673-7254 | http://www.preludeinteractive.com
![Page 2: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/2.jpg)
Overview
Why Browser Automation?
Shortcuts, Quickness, and Ubiquity with the Keyboard
Self Control with LeechBlock, RescueTime, and your hosts file.
Macros with iMacros
Finally, I'm Going to Re-Read This Slide
![Page 3: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/3.jpg)
Why Browser Automation?
• Because you use it all the time!
• Eventually, Browser == Computer
![Page 4: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/4.jpg)
Keyboard Vs. Mouse
Moving the mouse is a motor skills problem in 2 dimensions.
Moving the mouse requires moving your hand a lot. Keys require smaller, quicker movements.
3 keystrokes = 185k possibilities
Mobile interfaces are too small and our fingers are too big.
Touch screens are too new (and we'retoo clumsy)
![Page 5: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/5.jpg)
On the other hand…“We’ve done a cool $50 million of R & D on the Apple Human Interface. We discovered,
among other things, two pertinent facts: Test subjects consistently report that keyboarding is faster than mousing. The stopwatch consistently proves mousing is faster than keyboarding.
This contradiction between user-experience and reality apparently forms the basis for many user/developers’ belief that the keyboard is faster.”
- Bruce “Tog” Tognazzini
http://www.asktog.com/TOI/toi06KeyboardVMouse1.htmlhttp://www.codinghorror.com/blog/archives/001088.htmlhttp://www.codinghorror.com/blog/archives/000825.html
http://www.youtube.com/watch?v=1MPJZ6M52dIhttp://www.ted.com/talks/pattie_maes_demos_the_sixth_sense.html
![Page 6: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/6.jpg)
![Page 7: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/7.jpg)
Browser Shortcuts and "Hotkeys"
Cntl-T - new tabCntl-Tab - switch tabs.Cntl-L - go to a websiteCntl-W - close the tab I'm on.Cntl-K - search
Check out the hints in your menus too! Like...Alt-Fthen Alt-F-V
/ search navigation - See a link? Zing to it.
"Add a Keyword for this search...“
http://support.mozilla.com/en-US/kb/Keyboard+shortcuts
![Page 8: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/8.jpg)
Gmail Hotkeys
k - newerj - oldern - next messagep - previous messageo/Enter - open x - select# - deletey - de-label or archive
http://mail.google.com/support/bin/answer.py?hl=en&answer=6594
![Page 9: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/9.jpg)
Ubiquity
Do common multi-step tasks fasterWikipediaFacebookWeatherCalculator
Search for new extensions for the websites you work with.
Control + Space
https://mozillalabs.com/ubiquity/
![Page 10: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/10.jpg)
Self Control
![Page 11: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/11.jpg)
C'mon... be honest....
How to find out what’s really going on…
• Videotape yourself.• Take screenshots.• Set a timer• Rescue Time
http://www.rescuetime.com/
![Page 12: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/12.jpg)
Self Control, Step 1
Wait, Owl Videos!http://www.youtube.com/watch?v=QjEld1kYzOA
Block Sites in your Browser: LeechBlock (FFox) Allowed Sites (IE) Right click - Block Content (Opera)
![Page 13: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/13.jpg)
The Nuclear Option
The 'hosts' file is a file on most operating systems where you can match URLs to IPs - like a local DNS.
Set to 127.0.0.1 (your computer) to disable the website completely:
127.0.0.1 icanhascheezburger.com
/etc/hosts/c:\windows\system32\drivers\etc\hosts
http://practice.chatserve.com/hosts.html
![Page 14: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/14.jpg)
Macros
Well…they are neat.
![Page 15: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/15.jpg)
Browser Macros?
iMacrosCorny website, useful tool: • Free Version works Just Fine• http://www.iopus.com/imacros/• Available for multiple browsers
Selenium• Open Source Website Testing• http://seleniumhq.org/
![Page 16: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/16.jpg)
Simple Stuff
Keep track of logins Navigate Deeply Pay a Bill- Difficult to Remember/Find Login?- Hard to Navigate Website? Startup and Setup
![Page 17: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/17.jpg)
Stuff that Used to Take You Hours
Rolling something out and need to create 600 users? Preparing for a 10k race in 273 cities and need to create each group, folder, email template, etc?
iMacros + CSV = LOVE
![Page 18: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/18.jpg)
iMacros: Extra Credit
Setup shortcuts to individual macrosSchedule tasks
http://wiki.imacros.net/Tutorials
It is a little like programming. Don't be scared!
![Page 19: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/19.jpg)
Internet Explorer
FireFox Chrome Safari Opera
Extensions? Yes Yes Yes Yes Yes
Macros iMacros iMacros iMacros AppleScript Opera Macros
Self Control Approved Sites / Hosts File
LeechBlock Nope! Parental Controls - Allow List
Block Content
Convenience IE8 Web Slices?
Ubiquity Nope! QuickSilver? ?
Hotkeys Yes Yes Yes Yes Yes
![Page 20: Browser Automation](https://reader035.fdocuments.in/reader035/viewer/2022081515/554d3c5bb4c905b0708b49e9/html5/thumbnails/20.jpg)
Overview
First, I'm Going To Read This Slide Why Browser Automation?
Shortcuts, Quickness with Ubiquity (Keyboards!!)
Self Control with LeechBlock, RescueTime, and your hosts file.
Macros with iMacros and Selenium
Finally, I'm Going to Re-Read This Slide
@ehrenfoss | 512-673-7254 | http://www.preludeinteractive.com