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:
parent
3c55fbf2ca
commit
d2889a8f03
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue