[英]Difference between selenium.selenium and selenium.webdriver
我最近開始使用帶有python綁定的selenium。 selenium.selenium
模塊在Internet中的大多數示例代碼中使用。 但是,Selenium Python Bindings 2的當前API文檔不包括此模塊。 但是Selenium RC 1的API文檔包含該模塊。
我也可以從Ipython找到API文檔:
from selenium import selenium
help(selenium)
我有兩個相關的問題:
給出的鏈接不是官方文檔,請在此處參考官方API文檔: http : //selenium.googlecode.com/svn/trunk/docs/api/py/index.html (其中包含完整的API,其中包括舊的RC API) 硒.selenium是舊的RC API。 對於新項目,建議使用selenium.webdriver API。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.