selenium webdriver 无法获取窗口的html时,使用driver.getPageSource(),可以打印出页面的源码 转载于:https://www.cnblogs.com/iceflowerly/p/5239055.html