Skip to content

Commit

Permalink
Allow to access page from client
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored and danielcardeenas committed Apr 17, 2020
1 parent a6998f0 commit 0b02315
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/api/whatsapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ export class Whatsapp extends ControlsLayer {
super(page);
}

/**
* Get the puppeteer page instance
* @returns The Whatsapp page
*/
get waPage(): Page {
return this.page;
}

/**
* Clicks on 'use here' button (When it get unlaunched)
* This method tracks the class of the button
Expand Down

0 comments on commit 0b02315

Please sign in to comment.