Fix: Cannot read properties of undefined (reading 'getProfilePicFull') (#1362)

* Fix for issue#1356 - Cannot read properties of undefined reading getProfilePicFull

* use cross-compatible profilePicFind function

Co-authored-by: Joaquin Touris <joaquin@192.168.1.6>
Co-authored-by: Pedro Lopez <pedroslopez@me.com>
This commit is contained in:
༺ LᴇG̸ᴇɴD ༻ 2022-03-29 00:17:55 -03:00 • committed by GitHub
commit e9104b390d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 12 deletions

View file

@ -279,7 +279,7 @@ describe('Client', function() {
'Wap',
'WidFactory',
'findCommonGroups',
'getProfilePicFull',
'ProfilePic',
];
const loadedModules = await client.pupPage.evaluate((expectedModules) => {