mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 11:39:14 +00:00
Improvement in KEEP_PHONE_CONNECTED_IMG_SELECTOR
I change the selector from 'class' to 'attribute = value' to try to get more permanent results
This commit is contained in:
@@ -46,7 +46,7 @@ class Client extends EventEmitter {
|
||||
|
||||
await page.goto(WhatsWebURL);
|
||||
|
||||
const KEEP_PHONE_CONNECTED_IMG_SELECTOR = '.HGVhc';
|
||||
const KEEP_PHONE_CONNECTED_IMG_SELECTOR = '[data-asset-intro-image="true"]';
|
||||
|
||||
if (this.options.session) {
|
||||
// Check if session restore was successfull
|
||||
|
||||
Reference in New Issue
Block a user