Python+Selenium+Chrome 笔记(2)Selenium的Hello World

https://www.jianshu.com/p/32443d9ebe8e

在上一篇文章配置好 Selenium 和 Chrome Driver 后,我们该来了学习一下 Selenium 了。

在此之前我先简单介绍一下Selenium调用Chrome Drive的几个常用的参数设置:
1、不加载图片
2、不使用GUI(handless,也就是不打开Chrome的界面,后台运行,这样子的话在服务器上很好用)

代码如下:

原文地址:https://www.cnblogs.com/musings/p/13346590.html