質問編集履歴
2
別質問へのリンクを追記。
title
CHANGED
File without changes
|
body
CHANGED
@@ -135,8 +135,11 @@
|
|
135
135
|
|
136
136
|
https://www.seleniumqref.com/api/python/browser/Python_DesiredCapabilities_set.html
|
137
137
|
|
138
|
-
後ほど、新たに質問を立てるつもりです。
|
138
|
+
~~後ほど、新たに質問を立てるつもりです。~~
|
139
|
+
下記に質問を立てました。
|
140
|
+
[https://teratail.com/questions/353567](https://teratail.com/questions/353567)
|
139
141
|
|
142
|
+
|
140
143
|
### 補足情報(FW/ツールのバージョンなど)
|
141
144
|
|
142
145
|
利用環境
|
1
内容的な変更はありません。本番PCでのエラーメッセージに差し替えました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,21 +14,18 @@
|
|
14
14
|
|
15
15
|
```
|
16
16
|
C:\work>python 01_ie_test.py
|
17
|
-
|
18
|
-
|
19
|
-
====== WebDriver manager ======
|
20
|
-
There is no [x64] IEDriverServer for browser in cache
|
17
|
+
[WDM] - There is no [x64] IEDriverServer for browser in cache
|
21
18
|
Traceback (most recent call last):
|
22
|
-
File "
|
19
|
+
File "01_ie_test.py", line 4, in <module>
|
23
|
-
driver_path = IEDriverManager(
|
20
|
+
driver_path = IEDriverManager().install()
|
24
|
-
File "C:\Python\
|
21
|
+
File "C:\Python\lib\site-packages\webdriver_manager\microsoft.py", line 26, in install
|
25
22
|
return self._get_driver_path(self.driver)
|
26
|
-
File "C:\Python\
|
23
|
+
File "C:\Python\lib\site-packages\webdriver_manager\manager.py", line 29, in _get_driver_path
|
27
24
|
file = download_file(driver.get_url())
|
28
|
-
File "C:\Python\
|
25
|
+
File "C:\Python\lib\site-packages\webdriver_manager\driver.py", line 168, in get_url
|
29
26
|
major, minor, patch = self.__get_divided_version(self.get_version())
|
30
|
-
File "C:\Python\
|
27
|
+
File "C:\Python\lib\site-packages\webdriver_manager\driver.py", line 183, in __get_divided_version
|
31
|
-
|
28
|
+
"but given was: {version}".format(version=self.get_version()))
|
32
29
|
ValueError: Version must consist of major, minor and/or patch, but given was: .3.150.2
|
33
30
|
```
|
34
31
|
|
@@ -110,13 +107,13 @@
|
|
110
107
|
Traceback (most recent call last):
|
111
108
|
File "C:\work\01_ie_test.py", line 4, in <module>
|
112
109
|
driver_path = IEDriverManager(os_type = "win32").install()
|
113
|
-
File "C:\Python\
|
110
|
+
File "C:\Python\lib\site-packages\webdriver_manager\microsoft.py", line 25, in install
|
114
111
|
return self._get_driver_path(self.driver)
|
115
|
-
File "C:\Python\
|
112
|
+
File "C:\Python\lib\site-packages\webdriver_manager\manager.py", line 30, in _get_driver_path
|
116
113
|
file = download_file(driver.get_url())
|
117
|
-
File "C:\Python\
|
114
|
+
File "C:\Python\lib\site-packages\webdriver_manager\utils.py", line 93, in download_file
|
118
115
|
validate_response(response)
|
119
|
-
File "C:\Python\
|
116
|
+
File "C:\Python\lib\site-packages\webdriver_manager\utils.py", line 79, in validate_response
|
120
117
|
raise ValueError("There is no such driver by url {}".format(resp.url))
|
121
118
|
ValueError: There is no such driver by url http://selenium-release.storage.googleapis.com/3.150/IEDriverServer_Win32_3.150.2.zip
|
122
119
|
```
|