質問編集履歴
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
# 下記ではエラーとなってしまう
|
11
|
-
if len(driver.find_element_by_class_name("
|
11
|
+
if len(driver.find_element_by_class_name("bonus")) > 0:
|
12
12
|
print("Yes")
|
13
13
|
TypeError: object of type 'WebElement' has no len()
|
14
14
|
|