chrome高版本浏览器不兼容driver.execute_script(“return window.performance.getEntries()“)的解决方法
一、背景之前使用driver.execute_script("returnwindow.performance.getEntries()")的方法获取浏览器所有请求,很好用,可是后来一旦更新谷歌浏览器后,运行相关代码就会报错(如下)entries=self.driver.execute_script("returnwindow.performance.getEntries()")File"C:\U