Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
问与答
求教下使用 playwright 时候,如何向 page.on 的回调方法中传入参数
juventusryp
·
Jan 15, 2023
· 743 views
This topic created in 1204 days ago, the information mentioned may be changed or developed.
描述:
正常情况下使用下面代码可以监听到页面的 response ,但是现在想向 on_response 中额外的传递一些参数,求教该如何解决?
def on_response(res): if res.status === 200: ... page.on("response", on_response)
No Comments Yet
response
求教
page
on_response
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2499 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 09:09
·
PVG 17:09
·
LAX 02:09
·
JFK 05:09
♥ Do have faith in what you're doing.
❯