質問編集履歴
2
誤字の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,11 +24,11 @@
|
|
24
24
|
|
25
25
|
```python
|
26
26
|
|
27
|
-
if
|
27
|
+
if float(apple_percent) <= 100:
|
28
28
|
|
29
29
|
print('aiueo')
|
30
30
|
|
31
|
-
#TypeError:
|
31
|
+
#TypeError: float() argument must be a string or a number, not 'WebElement'
|
32
32
|
|
33
33
|
```
|
34
34
|
|
1
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,8 +40,6 @@
|
|
40
40
|
|
41
41
|
print(type(apple_percent))#<class 'selenium.webdriver.remote.webelement.WebElement'>
|
42
42
|
|
43
|
-
print(type(apple_percent.text))#stale element reference: element is not attached to the page document
|
44
|
-
|
45
43
|
```
|
46
44
|
|
47
45
|
とでました
|