title: Access DOM elements using Javascript in automation anywhere
body: <p>I would like to know how do we access an element (for ex -by classname) in JavaScript that is used with run script option in Automation anywhere for a specific website.
  The normal JavaScript operation with variables work in AA <strong>but if i try using DOM elements it gives error as Document is undefined.</strong>
  <em>I am trying this with JS as it is cross browser compatible and not using VBscript as it restricts only to IE.</em></p>
  
  <p>Please share some example that highlights my problem scenario.</p>
  
  <p>Thanks in Advance.</p>