File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,12 @@ jobs:
58
58
DATABASE_URI : " postgresql+psycopg://postgres:pgs3cr3t@postgres:5432/testdb"
59
59
60
60
- name : Debug runtime environment
61
- run : which firefox; which geckodriver; echo $PATH ; env
61
+ run : which firefox; firefox --version; which geckodriver; geckodriver --version ; env
62
62
63
63
- name : Run Integration Tests
64
- run : behave
64
+ run : |
65
+ behave -v
66
+ cat geckodriver.log
65
67
env :
66
68
DRIVER : " firefox"
67
69
Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ def get_firefox():
49
49
print ("Running Behave using the Firefox driver...\n " )
50
50
# Set the environment variable for the Selenium WebDriver
51
51
os .environ ["SELENIUM_DRIVER" ] = "geckodriver"
52
- options = webdriver .FirefoxOptions ()
52
+ # options = webdriver.FirefoxOptions()
53
+ options = webdriver .firefox .options .Options ()
54
+ options .add_argument ("--no-sandbox" )
53
55
options .add_argument ("--headless" )
56
+ options .add_argument ("--disable-gpu" )
57
+ options .add_argument ("--window-size=1280,1300" )
54
58
return webdriver .Firefox (options = options )
You can’t perform that action at this time.
0 commit comments