1,maximize_window() 窗口最大化
2,get(url):跳转到指定页面
3,refresh()刷新
4,back() 后退
5,forward()前进
6,get_screenshot_as_png() 截取base64内容;
7,get_screenshot_as_file(path) 截图保存到文件
8,current_url:网址
9,page_source 源码
10,current_window_handle 但钱窗口
11,window_handles 所有窗口
12,switch_to.alert 处理弹窗
13,switch_to.frame(frame_name) 切换框架
14,switch_to.window(window_name) 切换窗口
15,id:唯一标识
16,location :元素坐标
17,size 元素大小
18,rect 元素范围
19,parent
20,get_attribute(name) 获取元素的html属性
21,value_of_css_property 获取css属性
22,clear() 清空内容
23,xpath基本语法
/开头跟路径
//开头,中间任意曾经
//*【@id =