label = self.client.find_element_by_xpath('/html/body/div[1]/div/div[1]/div/div[2]/div[2]/div[3]/form/div/div/div/div/input')
rand = random.randint(362, 368) / 10
randStr = '%.1f'%rand
print('old:'+label.get_attribute('value')+'rand:'+randStr)
label.clear()
label.send_keys(randStr)
time.sleep(1)
print('new:'+label.get_attribute('value'))
然后点击按钮后,拿不到弹窗
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…