Spaces:
Sleeping
Sleeping
huggingface can you just fucking work with selenium
Browse files
app.py
CHANGED
|
@@ -269,7 +269,7 @@ def seek():
|
|
| 269 |
options.add_argument("--remote-debugging-port=9222")
|
| 270 |
|
| 271 |
# Use webdriver-manager to automatically handle ChromeDriver
|
| 272 |
-
service = Service(ChromeDriverManager(
|
| 273 |
driver = webdriver.Chrome(service=service, options=options)
|
| 274 |
driver.get(url)
|
| 275 |
|
|
|
|
| 269 |
options.add_argument("--remote-debugging-port=9222")
|
| 270 |
|
| 271 |
# Use webdriver-manager to automatically handle ChromeDriver
|
| 272 |
+
service = Service(ChromeDriverManager().install())
|
| 273 |
driver = webdriver.Chrome(service=service, options=options)
|
| 274 |
driver.get(url)
|
| 275 |
|