回答編集履歴
1
find_element_by_xpath -> find_elements_by_xpath に変更
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
|
|