Skip to content

Commit

Permalink
selenium: fix tests to be headless
Browse files Browse the repository at this point in the history
  • Loading branch information
naisanzaa committed Oct 24, 2023
1 parent 13bbb4f commit e5a5526
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from automon.integrations.seleniumWrapper.browser import SeleniumBrowser

browser = SeleniumBrowser()
browser.config.set_webdriver.Chrome().enable_defaults()
browser.config.set_webdriver.Chrome().enable_defaults().enable_headless()


class SeleniumClientTest(unittest.TestCase):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from automon.integrations.seleniumWrapper.browser import SeleniumBrowser

browser = SeleniumBrowser()
browser.config.set_webdriver.Chrome().enable_defaults()
browser.config.set_webdriver.Chrome().enable_defaults().enable_headless()

agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:112.0) Gecko/20100101 Firefox/112.0'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from automon.integrations.seleniumWrapper.browser import SeleniumBrowser

browser = SeleniumBrowser()
browser.config.set_webdriver.Chrome().enable_defaults()
browser.config.set_webdriver.Chrome().enable_defaults().enable_headless()


class SeleniumClientTest(unittest.TestCase):
Expand Down

0 comments on commit e5a5526

Please sign in to comment.