This script searches the http://www.whitepages.com to find a phone number in USA ( and maybe Canada ). It requires Build 194 beta-3 as it adds a couple of more fields to display to make the script easier to write.
try { fname = find(/First Name: (.*)/).groups[1]; }
catch(e) {
fname = '';
}
try { lname = find(/Name: (.*)/).groups[1]; }
catch(e) {
lname = '';
}
try { zip = find(/Zip: (.*)/).groups[1]; }
catch(e) {
zip = '';
}
go('http://www.whitepages.com')
uncheck("First Name");
enter("First Name",fname);
enter("Last Name",lname);
enter("City or Zip/Area Code",zip);
click('First Button');
Graham Chiu
Beta Downloads and Documentation Wiki
Developer Forum