diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-11 20:11:55 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-11 20:11:55 +0800 |
commit | b692315dd0bf7d1629de3ede63b93809eb2dfd8a (patch) | |
tree | e6852edf2e63108795db3d62a71a8868af37a2d4 | |
parent | ed2dd5436382ec5ec04918f5483f6f9850bc7b53 (diff) |
app/test/test_add_word.py: remove the error-causing line.
-rw-r--r-- | app/test/test_add_word.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/test_add_word.py b/app/test/test_add_word.py index 00de26b..ebbfb8c 100644 --- a/app/test/test_add_word.py +++ b/app/test/test_add_word.py @@ -48,7 +48,7 @@ def test_add_word(): word = random.choice(essay_content.split()) elem.send_keys(word) - driver.save_screenshot('./app/test/test_add_word_pic1.png') + elem = driver.find_element_by_xpath('//form[1]//input[1]') # 找到get所有词频按钮 elem.click() |