且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 Python 中使用 Selenium WebDriver 获取文本

更新时间:2022-01-17 05:35:12

您只需要 .text.

然后您可以在之后验证它,不要试图传递您期望它应该具有的东西.

You can then verify it after you've got it, don't attempt to pass in what you expect it should have.