好的,我已经更改为整个for k in ky:
try:
b1 = wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id="container"]/div/div[2]/div/input')))
b1.clear()
b1.send_keys(k)
# c1 = wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id="container"]/div/div[2]/div/span')))
wait.until(EC.element_to_be_clickable((By.XPATH, '//*[@id="container"]/div/div[2]/div/span'))).click()
# c1.click()
time.sleep(10)
wait.until(EC.presence_of_element_located((By.XPATH, '//*[@id="container"]/div[1]/div[3]/div[2]/div[1]/div[1]/div[2]/div[2]/div/table/tbody/tr/td[2]/div')))
d1 = wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id="container"]/div/div[3]/div[2]/div[1]/div[1]/div[2]/div[2]/div/table/tbody'))).text
d1 = (d1).replace(',', '.')
d1 = ' '.join(d1.splitlines())
d1 = d1.replace(' ', ',')
result = [x.strip() for x in d1.split(',')]
d = [result[0]]
s = [result[1]]
c = [result[2]]
print([k],d,s,c)
for ks in [k]:
list.append(ks)
for ds in d:
list1.append(ds)
for ss in s:
list2.append(ss)
for cs in c:
list3.append(cs)
driver.execute_script("window.history.go(-1)") # back to search
driver.refresh() # extra safety
except TimeoutException:
print("Got Timeout for Key:", k)
系统。当对与该漫游器不在任何相互服务器中的用户执行bal命令时,它说该用户的余额中包含:dollar:undefined,尽管它应该说它包含:dollar:0代替
代码:
Intents