首页 > Windows开发 > 详细

webDriver API——第10部分Chrome WebDriver

时间:2015-04-29 23:22:31      阅读:426      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!