summaryrefslogtreecommitdiff
path: root/app/test/test_add_word.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_add_word.py')
-rw-r--r--app/test/test_add_word.py2
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()