mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2026-05-06 22:23:45 +08:00
Merge pull request #949 from HuangShiqing/master
Fix the binary file not found bug when using Docker
This commit is contained in:
@@ -2416,6 +2416,8 @@ if __name__ == '__main__':
|
||||
# Headless mode
|
||||
# options.add_argument("--headless")
|
||||
# print("Headless mode")
|
||||
options.binary_location = ""
|
||||
options.extensions.clear()
|
||||
browser_t = MyChrome(command_executor=c.docker_driver, options=options, mode='remote_driver')
|
||||
elif browser == "edge":
|
||||
from selenium.webdriver.edge.service import Service as EdgeService
|
||||
|
||||
Reference in New Issue
Block a user