Automate Mozilla Firefox Using Javascript

 

You can automate the Firefox web browser using both Newbie Scripts and JavaScripts. Refer to the Newbie Online Help on instructions on how to install the Newbie Plugin for Firefox and how to create JavaScripts to automate web pages on the Firefox browser.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Sample JavaScript to login to Yahoo Mail:

function ondocumentcomplete(URL) {
  if (URL ==
'http://mail.yahoo.com/') {
    fill(
'login', getparam('yahoo_l') );
    fill(
'passwd', getparam('yahoo_p'));
    clickbuttonvalue(
'Sign In');
  }
}

function main() {
  navigate(
'http://www.mail.yahoo.com');
}
 

View flash demo: Extracting Google search results to Excel using JavaScripts (2.7MB)

 

Go home