browser-environment-test icon indicating copy to clipboard operation
browser-environment-test copied to clipboard

这是什么问题?

Open pengyanbing84 opened this issue 4 years ago • 5 comments

image

pengyanbing84 avatar May 24 '20 07:05 pengyanbing84

snipaste20200524_152941

pengyanbing84 avatar May 24 '20 07:05 pengyanbing84

你需要下载项目的index.html

jin10086 avatar May 24 '20 07:05 jin10086

你需要下载项目的index.html 只能在谷歌打开index.html? 我在火狐浏览器打开错误 image

pengyanbing84 avatar May 24 '20 09:05 pengyanbing84

python -m http.server 是启动一个web server

你在项目目录下运行这个就可以 http://localhost/index.html 打开了,你那是直接打开文件

jin10086 avatar May 24 '20 09:05 jin10086

python -m http.server 是启动一个Web服务器

你在项目目录下运行这个就可以http://localhost/index.html打开了,你那是直接打开文件

就是遍历window对象,把属性全部保存成json文件

请问在selenium中怎么使用这个json文件,添加到selenium中? 在selenium添加所有的浏览器的属性,保存在json文件中的都是浏览器的属性吧

pengyanbing84 avatar May 31 '20 07:05 pengyanbing84