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

使用了代理之后会有安全校验 #66

Open
hejun041 opened this issue Nov 8, 2024 · 2 comments
Open

使用了代理之后会有安全校验 #66

hejun041 opened this issue Nov 8, 2024 · 2 comments

Comments

@hejun041
Copy link

hejun041 commented Nov 8, 2024

添加了本地代理之后请求调用await page.goto(jd_login_url)打印出来多了一个校验div:

这个div会在`<script defer="defer" src="https://storage.360buyimg.com/jsresource/ws_js/jdwebm.js?v=mregister"></script>` 这个JS中做校验,从而不会往下执行,以至于到代码await page.get_by_text("账号密码登录").click()这里会超时
@hejun041
Copy link
Author

hejun041 commented Nov 8, 2024

截图看是白屏,没有元素

@hejun041
Copy link
Author

hejun041 commented Nov 8, 2024

解决方案#68

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

1 participant