diff --git a/src/api/whatsapp.ts b/src/api/whatsapp.ts index f69f13236..51b08dac8 100644 --- a/src/api/whatsapp.ts +++ b/src/api/whatsapp.ts @@ -161,6 +161,16 @@ export class Whatsapp extends BusinessLayer { return true; } + /** + * Return PID process + * @internal + */ + public getPID() { + const browser = this.page.browser(); + const process = browser.process(); + return process.pid; + } + /** * Get message by id * @param messageId string