質問編集履歴

1

エラー文を修正しました。

2022/06/29 01:39

投稿

funash
funash

スコア0

test CHANGED
File without changes
test CHANGED
@@ -73,39 +73,43 @@
73
73
  [WDM] - ====== WebDriver manager ======
74
74
  [WDM] - Current google-chrome version is 103.0.5060
75
75
  [WDM] - Get LATEST chromedriver version for 103.0.5060 google-chrome
76
- [WDM] - Driver [C:\Users\***\.wdm\drivers\chromedriver\win32\103.0.5060.53\chromedriver.exe] found in cache
76
+ [WDM] - Driver [C:\Users\funas\.wdm\drivers\chromedriver\win32\103.0.5060.53\chromedriver.exe] found in cache
77
77
  C:\Users\***\Desktop\test.py:44: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
78
78
  driver1 = webdriver.Chrome(
79
79
  C:\Users\***\Desktop\test.py:44: DeprecationWarning: use options instead of chrome_options
80
80
  driver1 = webdriver.Chrome(
81
+
81
- 既存のブラウザ セッションで開いています。
82
+ DevTools listening on ws://127.0.0.1:60829/devtools/browser/c2eda952-770a-4ec2-8a87-b0fc08409eea
82
83
  Traceback (most recent call last):
83
84
  File "C:\Users\***\Desktop\test.py", line 53, in <module>
84
85
  main()
85
- File "C:\Users\***\Desktop\test.py", line 44, in main
86
+ File "C:\Users\***\Desktop\test.py", line 50, in main
86
- driver1 = webdriver.Chrome(
87
+ driver1.get(url)
87
- File "C:\Users\***\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 69, in __init__
88
- super().__init__(DesiredCapabilities.CHROME['browserName'], "goog",
89
- File "C:\Users\***\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 92, in __init__
90
- super().__init__(
91
- File "C:\Users\***\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 277, in __init__
88
+ File "C:\Users\***\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 447, in get
92
- self.start_session(capabilities, browser_profile)
93
- File "C:\Users\***\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 370, in start_session
94
- response = self.execute(Command.NEW_SESSION, parameters)
89
+ self.execute(Command.GET, {'url': url})
95
90
  File "C:\Users\***\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 435, in execute
96
91
  self.error_handler.check_response(response)
97
92
  File "C:\Users\***\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
98
93
  raise exception_class(message, screen, stacktrace)
99
- selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir
94
+ selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status
95
+ from unknown error: unexpected command response
96
+ (Session info: chrome=103.0.5060.66)
100
97
  Stacktrace:
101
98
  Backtrace:
102
99
  Ordinal0 [0x004E6463+2188387]
103
100
  Ordinal0 [0x0047E461+1762401]
104
101
  Ordinal0 [0x00393D78+802168]
102
+ Ordinal0 [0x00387210+750096]
103
+ Ordinal0 [0x0038675A+747354]
105
- Ordinal0 [0x003B1BC2+924610]
104
+ Ordinal0 [0x00385D3F+744767]
105
+ Ordinal0 [0x00384C28+740392]
106
+ Ordinal0 [0x00385228+741928]
106
- Ordinal0 [0x003AE331+910129]
107
+ Ordinal0 [0x0038EF2F+782127]
108
+ Ordinal0 [0x00399FBB+827323]
109
+ Ordinal0 [0x0039D310+840464]
110
+ Ordinal0 [0x003854F6+742646]
111
+ Ordinal0 [0x00399BF3+826355]
107
- Ordinal0 [0x003E1430+1119280]
112
+ Ordinal0 [0x003ECF6D+1167213]
108
- Ordinal0 [0x003E108A+1118346]
109
113
  Ordinal0 [0x003DC5F6+1099254]
110
114
  Ordinal0 [0x003B6BE0+945120]
111
115
  Ordinal0 [0x003B7AD6+948950]
@@ -122,6 +126,7 @@
122
126
  RtlGetFullPathName_UEx [0x77E88FBD+1165]
123
127
 
124
128
 
129
+
125
130
  ```
126
131
 
127
132
  以前はpython3.9で実行していたのですが、