[FIX] Connection success detection selector changed

close #31
This commit is contained in:
Pedro Lopez
2020-01-17 22:04:55 -04:00
parent 9043e61c40
commit 2dc53e0820

View File

@@ -46,7 +46,7 @@ class Client extends EventEmitter {
await page.goto(WhatsWebURL);
const KEEP_PHONE_CONNECTED_IMG_SELECTOR = '._1wSzK';
const KEEP_PHONE_CONNECTED_IMG_SELECTOR = '.HGVhc';
if (this.options.session) {
// Check if session restore was successfull