码迷,mamicode.com
首页 > Windows程序 > 详细

webDriver API——第10部分Chrome WebDriver

时间:2015-04-29 23:25:05      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:

class selenium.webdriver.chrome.webdriver.WebDriver(executable_path=‘chromedriver‘port=0chrome_options=Noneservice_args=Nonedesired_capabilities=Noneservice_log_path=None)

Bases: selenium.webdriver.remote.webdriver.WebDriver

Controls the ChromeDriver and allows you to drive the browser.

You will need to download the ChromeDriver executable fromhttp://chromedriver.storage.googleapis.com/index.html

create_options()
quit()

Closes the browser and shuts down the ChromeDriver executable that is started when starting the ChromeDriver

webDriver API——第10部分Chrome WebDriver

标签:

原文地址:http://www.cnblogs.com/hushaojun/p/4467605.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!