摘要: 1 # -*- coding:utf-8 -*- 2 3 from selenium import webdriver 4 5 driver = webdriver.Firefox() 6 7 driver.get(r'F:\电子书\selenium\Selenium Testing Tools Cookbook(中文)\demo\RadioButton.html') 8 9 apple = driver.find_element_by_css_selector("input[value='Apple']")10 11 #检查是否已选择12 阅读全文
posted @ 2013-06-30 22:18 Roger| 阅读(172) 评论(0) 推荐(0) 编辑