Skip to content

Latest commit

 

History

History
 
 

api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Nightwatch API Commands

Public commands api exported by Nightwatch in order to be extended upon from outside.

Example:

const {Quit: quit} = require('nightwatch/api');

module.exports = CustomQuit extends Quit {
  async command(cb = function(r) {return r}) {
    console.log('from custom quit command');
    
    await super.command(cb);
  }
}

This is a work in progress.

Element commands:

Document handling:

Session related:

Navigation:

Window related:

Frames:

User actions:

User prompts:

Mobile related:

Utilities & Debugging: