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

Linux环境中,无头模式如何刷新页面 #28

Open
DSzhe1021 opened this issue Apr 21, 2021 · 0 comments
Open

Linux环境中,无头模式如何刷新页面 #28

DSzhe1021 opened this issue Apr 21, 2021 · 0 comments

Comments

@DSzhe1021
Copy link

在无头模式下,获取到的页面是空白的,需要刷新一下,尝试过使用
await page.reload()
await page.evaluate("window.location.reload()")
但是并没有什么作用,得到的页面还是空白页

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