Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Captcha #1935

Closed
rustemkzk opened this issue Jan 31, 2018 · 4 comments
Closed

Captcha #1935

rustemkzk opened this issue Jan 31, 2018 · 4 comments

Comments

@rustemkzk
Copy link

Is it possible to solve captcha manually? I want special window with captcha only, where i could solve captcha manually. So, all script will be written in headless chrome, but i want special window to solve captcha.

Добрый день. Хотел бы уточнить, возможно ли создание специального окна для вывода каптчи. То есть, весь скрипт будет написан в хедлесс хроме, но вывод каптчи осуществляется в специальном окне(где будет только капча, без остальной страницы). Возможно ли это сделать?

@vc1
Copy link

vc1 commented Jan 31, 2018

uiBrowser = await puppeteer.launch({ headless: false })
uiPage = ...
// open website , type captcha, login
cookies = await uiPage.cookies(url)
// OR cookies = (await page._client.send('Network.getAllCookies')).cookies

headlessBrowser = await puppeteer.launch({ headless: true })
headlessPage = ...
headlessPage.setCookies(cookies)
...

@vc1
Copy link

vc1 commented Jan 31, 2018

+1
I want to know what package can pop up the system dialog box, can display the picture, enter a string

this is window10 notice
image

These packages can not display pictures
https://github.com/bat-tomr/dialog-node
https://github.com/mikaelbr/node-notifier

@ebidel
Copy link
Contributor

ebidel commented Jan 31, 2018

Dupe of #473

@KrisWu-188
Copy link

Has the problem been solved? I also want to know how to solve captcha by hand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants