We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94dfb55 commit 167e30dCopy full SHA for 167e30d
1 file changed
spec/support/capybara.rb
@@ -7,11 +7,12 @@ class CapybaraChromeConfig
7
def self.chrome_capabilities(headless: false)
8
Selenium::WebDriver::Chrome::Options.new.tap do |options|
9
options.add_argument('--disable-popup-blocking')
10
+ options.add_argument('--disable-dev-shm-usage')
11
options.add_argument('--window-size=1900,1200')
12
+ options.add_argument('--no-sandbox')
13
+ options.add_argument('--disable-gpu')
14
if headless
15
options.add_argument('--headless')
- options.add_argument('--no-sandbox')
- options.add_argument('--disable-gpu')
16
end
17
18
0 commit comments