shauryam
I think you must check iframes I believe they load a lot of UI through iframes
Will check this ..but in previous 3 months everyday it work perfectly
Bogdan
Will check this ..but in previous 3 months everyday it work perfectly
Also how do you click by button? Try ghost cursor
shauryam
Also how do you click by button? Try ghost cursor
Problem is it's not allowing me to click with real mouse button mate... If I use automation they detect and restrict me to click anywhere
Bogdan
Use proxy also
shauryam
Does any error comes, while you going to click on login element?
No error mate just I can't click buttons
Amandeep
Your mouse not even hovering on the element?
shauryam
Null
The simplest code allows you to enter data and log in (if the captcha does not appear, which can also be bypassed): import puppeteer from 'puppeteer'; async function wait(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } async function main() { console.log("Start..."); const browser = await puppeteer.launch({ headless: false, userDataDir: "data", defaultViewport: { width: 1366, height: 768, }, }); const [page] = await browser.pages(); try { console.log("Load page..."); await page.goto("https://www.bybit.com/en/login"); console.log("Type email..."); const inputEmail = await page.waitForSelector("xpath/.//input[@name = 'email']"); await inputEmail.type("example@gmail.com", { delay: 50 }); await wait(1000); console.log("Type password..."); const inputPassword = await page.waitForSelector("xpath/.//input[@name = 'password']"); await inputPassword.type("P@ssw0rd42", { delay: 50 }); await wait(1000); console.log("Click button..."); const buttonLogin = await page.waitForSelector("xpath/.//button[contains(text(), 'Log in')]"); await buttonLogin.click(); console.log("Done."); } catch (err) { console.log(`[MAIN CATCH] ${err.stack}`); } } main();
shauryam
If something doesn't work out for you, it doesn't mean that the site detects automation and fights it. This is misleading.
I don't mean that sir ...it was working past 3 month every day ..but suddenly it stopped..
Null
I don't mean that sir ...it was working past 3 month every day ..but suddenly it stopped..
So what? The version of puppeteer/browser/layout on the site has been updated. With some sites this happens all the time.
Null
The simplest code allows you to enter data and log in (if the captcha does not appear, which can also be bypassed): import puppeteer from 'puppeteer'; async function wait(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } async function main() { console.log("Start..."); const browser = await puppeteer.launch({ headless: false, userDataDir: "data", defaultViewport: { width: 1366, height: 768, }, }); const [page] = await browser.pages(); try { console.log("Load page..."); await page.goto("https://www.bybit.com/en/login"); console.log("Type email..."); const inputEmail = await page.waitForSelector("xpath/.//input[@name = 'email']"); await inputEmail.type("example@gmail.com", { delay: 50 }); await wait(1000); console.log("Type password..."); const inputPassword = await page.waitForSelector("xpath/.//input[@name = 'password']"); await inputPassword.type("P@ssw0rd42", { delay: 50 }); await wait(1000); console.log("Click button..."); const buttonLogin = await page.waitForSelector("xpath/.//button[contains(text(), 'Log in')]"); await buttonLogin.click(); console.log("Done."); } catch (err) { console.log(`[MAIN CATCH] ${err.stack}`); } } main();
Does this code work?
Null
If not, I would like to see the error.
shauryam
Does this code work?
I will check this sir and update you
shauryam
Does this code work?
Wow this is working
Лешка
hacker)
Sektor
Ребята, а не сталкивались с тем что фанкапча пупетир палит и подсовывает сложные задания?
Desaparecer
How to track a Lot of web elements AND save in variable to click them after ?
Gg
Hello how can I make my script not look like bot or detected
shauryam
👍🏻
Hi mate one more thing when I use puppeteer extra and stealth plugin it doesn't workout ..
Null
Hi mate one more thing when I use puppeteer extra and stealth plugin it doesn't workout ..
What do you mean it doesn't work? Show the code, describe what result you are expecting and what result you get.
Sektor
What do you mean it doesn't work? Show the code, describe what result you are expecting and what result you get.
funcaptcha detect when you use puppeteer and give you unsolvable or very difficult tasks
Null
funcaptcha detect when you use puppeteer and give you unsolvable or very difficult tasks
No one will decide this for you. There are no ready-made solutions. Because sites are constantly adapting. Learn to do so so that you are indistinguishable from an ordinary user :)
Sektor
but if I didnt get page object everything is okay
Gg
Also I creat another script it's wast of time to use puppter for funcaptcha
Gg
Is there way to fix bot detected on puppter
Gg
It detect that it's using dev port
Sektor
It work fine for me bro
Depend on website may be not at all sites funcaptcha so paranoid
Gg
Ofc they detected this not just you using same bda there a lot before you
Gg
Also orbit not work
Sektor
What is bda?
Gg
What is bda?
Encoded fp
Sektor
What is fp?
Gg
Check requests you will see
Gg
What is fp?
Fingerprint
Sektor
If i didnt connect to page
Sektor
Everything is ok
Gg
Its contains all you machine info
Sektor
My fingerprint is ok
Gg
Browser info
Sektor
I use antidetect
Sektor
Browser
Gg
Mmm cool
Sektor
Problem with puppeteer connection
Bogdan
Is there way to fix bot detected on puppter
Try real chrome with virtual screen(xvfb)
Bogdan
With head full mode of course
Bogdan
If they detect dev methods just click by coordinates with ghost cursor
Sektor
Is there any way to hide puppeteer_utility_world context?
Sektor
It’s undetectable
а тогда может какие-то другие штуки "детектабл" можно как-то скрыть?
Sektor
Какая антибот система обнаруживает ?
ну вообще я в общем спрашиваю для общего развития. А так если конкретно то фанкапча палит например
Sektor
подсовывает орбиты сложнорешаемые
Sektor
и еще вопрос в догонку: я верно понимаю что самый беспалевный это cdp? Но ведь пупетир тоже через cdp работает или нет?
Ilya
и еще вопрос в догонку: я верно понимаю что самый беспалевный это cdp? Но ведь пупетир тоже через cdp работает или нет?
Да, пупитер через него работает но пупитер подсовывает runtime и тд, которые можно детектить
Ilya
Но cdp по отпечатку можно спалить если много браузеров запускать
BЕLый
Да все это работает через CDP, но ты можешь сначала запустить браузер на нужной тебе странице подождать пока пройдут все проверки и заново законектится
BЕLый
Либо самому написать все на CDP
BЕLый
подсовывает орбиты сложнорешаемые
А что значит подсовывать орбиты?
Ilya
Капча скорее всего сложная
BЕLый
Лучшее решение
Лучше сразу на Firefox тестить все, там есть возможность fingerprint менять
Sektor
А что значит подсовывать орбиты?
тип капчи, есть легкая
Sektor
а есть сложная
BЕLый
Пон, я если капчу ловлю сразу браузер закрываю
Sektor
Либо самому написать все на CDP
cdp просто это боль конечно....
BЕLый
а с ккакой целью он это подсовывает? спецом чтоб палили?
Потому что puppeteer создавался с целью тестирования
Sektor
кстати а кто-то знает есть скрипты чтобы из dom snapshot собирать нормальный дом?
Ilya
а с ккакой целью он это подсовывает? спецом чтоб палили?
Нет, чтобы скорость быстрее была (оптимизации это все)
Ilya
Сам чистый cdp медленный и прожорливый
Ilya
А детекты это уже фишки
Sektor
понял, ну значит самое тру это cdp