Compare Revisions

Writing GCLI Commands

Change Revisions

Revision 458725:

Revision 458725 by jwalker on

Revision 458729:

Revision 458729 by jwalker on

Title:
Writing GCLI Commands
Writing GCLI Commands
Slug:
Tools/GCLI/Writing_GCLI_Commands
Tools/GCLI/Writing_GCLI_Commands
Content:

Revision 458725
Revision 458729
n57        <code>chromeDocument</code>: Allows access to the browsern57        <code>chromeDocument</code>, <code>chromeWindow</code>: A
> environment>llows access to the browser environment
58      </li>
59      <li>58      </li>
59      <li>
60        <code>contentDocument</code>: Allows access to the curren60        <code>document,window</code>: Allows access to the curren
>t web page>t web page
61      </li>
62      <li>
63        <code>target</code>: Access to the target object for the 
 >current web page
n70    context.environment.chromeDocument.defaultView.close();n73    context.environment.chromeWindow.close();
t81    return context.environment.contentDocument.querySelectorAll('t84    return context.environment.document.querySelectorAll('div').l
>div').length;>ength;

Back to History