Skip to content

Commit

Permalink
Remove force headless
Browse files Browse the repository at this point in the history
  • Loading branch information
naibo committed Apr 23, 2024
1 parent c8b7183 commit 9ed61c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ExecuteStage/easyspider_executestage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2453,8 +2453,8 @@ def getData(self, param, loopElement, isInLoop=True, parentPath="", index=0):
print("Using remote driver")
# Use docker driver, default address is http:https://localhost:4444/wd/hub
# Headless mode
options.add_argument("--headless")
print("Headless mode")
# options.add_argument("--headless")
# print("Headless mode")
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
Expand Down

0 comments on commit 9ed61c4

Please sign in to comment.