Skip to content

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

@DSzhe1021

Description

@DSzhe1021

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions