forked from mrlan/EnglishPal
change
parent
624426b6cf
commit
f3b9fd8790
|
@ -54,7 +54,7 @@ def test_selected_second_word(driver, URL):
|
||||||
|
|
||||||
# 获取选中的文本
|
# 获取选中的文本
|
||||||
selected_words = driver.find_element(By.ID, 'selected-words').get_attribute('value')
|
selected_words = driver.find_element(By.ID, 'selected-words').get_attribute('value')
|
||||||
assert selected_words != "","选中单词被放置框中"
|
|
||||||
#再次选取
|
#再次选取
|
||||||
select(driver)
|
select(driver)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
Loading…
Reference in New Issue