Deprecated feature used (puppeteer)

Hello to everyone
does anyone know how should i solve the “StorageType.persistent is deprecated. Please use standardized navigator.storage instead.” error ?
does it mean that they detect i am using puppeteer ?!

No brother its not related to detection of puppeteer, its a warning from chromium that storage method is depreciated, it caused because the website is using this old api, so its not you its the website

1 Like

thank you so much @MrBoss, when i use chrome manually the website is loaded perfectly but when i try to use puppeteer the contents do not load and the error appears in issue box of dev tool !!

Some website behave differently in headless mode, try headful mode of puppeteer, and for headless mode the website is surely triggering some things when running on puppeteer, use the stealth plugin

thank so much brother @MrBoss
I have tried headful mode but it does not work, and as you know OB2 uses stealth plugin by default :

then i tried with (puppeteer-extra-plugin-stealth) node package in two mode (headless & headful) and as the same it does not work again.

Looks like the open bullet puppeteer is old, can you try same thing python latest puppeteer and check if the warning is taken care of

1 Like

thanks bro
I try and will tell you

Hello again @MrBoss
I found an issue about puppeteer-sharp:

guess it is about my problem beacuse the website that I try to access is null and so all functions on this page objects will fail.
Do you know what version of puppeteer-sharp exist on OB2 ?
I think @Ruri can help me.

You can find out the version of that lib in the .NET project’s settings of RuriLib (in the repo). I tried to update Selenium it in the past but there was a compatibility issue with the stealth plugin so I had to roll back. There are much better libraries nowadays so a big change is needed to update to something undetected by most sites.

Thanks @Ruri
you are a legend.
and please tell us when the big change will be executed ?

Write the same ob functionality script to python with latest puppeteer, if you want to use it now brother

1 Like

thanks brother
it works
big like :+1:

1 Like