🎭 Playwright 获取toast信息
使用浏览器的调试暂停功能
F12后点开Source,触发toast信息弹出后,立刻点暂停按钮,这个时候toast信息就不会消失了。
快捷键:F8 或 Ctrl + \
这时候页面处于调试暂停状态了,再回到检测元素,鼠标指上去,就能看到元素属性了
参考文档:https://blog.csdn.net/qq_35948955/article/details/135933498
🎭 Playwright 获取toast信息
https://shikai.info/archives/y4xpAejh