Skip to content

Commit 9e68652

Browse files
committed
Set new default screen size for pytest headless mode
1 parent aecd9e9 commit 9e68652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/plugins/selenium_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def beforeTest(self, test):
134134
from how Selenium is run remotely, such as from Jenkins. """
135135

136136
if self.options.headless:
137-
self.display = Display(visible=0, size=(1200, 800))
137+
self.display = Display(visible=0, size=(1920, 1200))
138138
self.display.start()
139139
self.headless_active = True
140140
if self.options.servername == "localhost":

0 commit comments

Comments
 (0)