回答編集履歴

1

find_element_by_xpath -> find_elements_by_xpath に変更

2021/04/08 14:07

投稿

NGW
NGW

スコア48

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  ``` python
12
12
 
13
- for max_num_comment in driver.find_element_by_xpath("//tbody/tr/td"):
13
+ for max_num_comment in driver.find_elements_by_xpath("//tbody/tr/td"):
14
14
 
15
15
  max_num = max_num_comment.text
16
16