Pressing a “cancel” popup button in playwright throws exception

前端 未结 0 1599
一生所求
一生所求 2020-12-08 21:50

I use playwright in python to cancel a text-submission on a webpage:

page.once("dialog", lambda dialog: asyncio.create_task(dialog.accept()))
with p         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题