update docs/进阶使用/监听浏览器网络.md.

Signed-off-by: 草帽小子 <423311977@qq.com>
This commit is contained in:
草帽小子 2023-01-07 02:40:28 +00:00 committed by Gitee
parent 5c55f54dd3
commit 9fcd75bb0d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -23,7 +23,7 @@ listener.set_targets('JobSearchResult.aspx') # 设置需要监听的url
listener.listen(count=10) # 开始监听接收到10条目标url的请求后停止
for i in listener.steps():
print(i[0].body) # 打印实时打印监听到的内容
print(i.body) # 打印实时打印监听到的内容
listener.stop() #停止监听
```