select = browser.find_element_by_tag_name("select") all_options =select.find_element s _by_tag_name("option") #这里一定是使用 elements,若是element(没有s),会报错: TypeError: 'WebElement' object is not iterable selenium for option i ...
import string,sys import os,time import calendar import shutil from time import strftime, localtime from datetime import timedelta, date #get local time in year ,month day hour min and second year = strftime("%Y",localtime()) mon = strftime("%m",localtime( ...