Skip to content

Commit

Permalink
Merge branch 'master' of github.com:SvenskaSpel/locust-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Jan 29, 2024
2 parents 8f837b7 + 4d284fe commit ea7d3ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion locust_plugins/users/webdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class WebdriverClient(webdriver.Remote):
def __init__(self, user: User):
self.user = user
options = Options()
options.headless = self.user.headless
if self.user.headless:
options.add_argument("--headless")
for arg in [
"--disable-translate",
"--disable-extensions",
Expand Down

0 comments on commit ea7d3ac

Please sign in to comment.