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

如果网站仅支持手机+验证码登录或扫码登录,该怎么解决登录态的问题 #39

Open
danielcy opened this issue Jun 28, 2023 · 5 comments
Labels
good first issue Good for newcomers wontfix This will not be worked on

Comments

@danielcy
Copy link

比如小红书的网页版,只支持手机验证码和扫码,这种情况下要如何才能先登录再进行浏览呢?

@platonai
Copy link
Owner

这种情况只能够使用 GUI 模式,在登录页面上等待,人工登录。

@platonai platonai added the wontfix This will not be worked on label Jul 15, 2023
@551685830
Copy link

提供个思路,我在做其它项目时用到的。那就是采用OCR+RPA的方式来实现自动登录。

@inprise1980
Copy link

这种情况只能够使用 GUI 模式,在登录页面上等待,人工登录。

GUI模式是要如何设置?有相关的示例代码吗?谢谢。

@inprise1980
Copy link

@platonai GUI模式是要如何设置?有相关的示例代码吗?谢谢

@galaxyeye
Copy link
Collaborator

@platonai GUI模式是要如何设置?有相关的示例代码吗?谢谢

Windows下运行默认是 GUI 模式。如果你的执行不是 GUI 模式,那么设置配置参数:
···
browser.display.mode=GUI
···
或者:
···
BrowserSettings.withGUI()
···

@galaxyeye galaxyeye added the good first issue Good for newcomers label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants