Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update launchy 3.0.1 → 3.1.0 (minor) #517

Merged
merged 2 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ GEM
capybara-selenium (0.0.6)
capybara
selenium-webdriver
childprocess (5.0.0)
childprocess (5.1.0)
logger (~> 1.5)
coderay (1.1.3)
concurrent-ruby (1.3.4)
crass (1.0.6)
Expand Down Expand Up @@ -123,9 +124,10 @@ GEM
thor (>= 0.14, < 2.0)
json (2.9.1)
language_server-protocol (3.17.0.3)
launchy (3.0.1)
launchy (3.1.0)
addressable (~> 2.8)
childprocess (~> 5.0)
logger (~> 1.6)
logger (1.6.1)
loofah (2.24.0)
crass (~> 1.0.2)
Expand Down Expand Up @@ -164,7 +166,7 @@ GEM
method_source (~> 1.0)
psych (5.1.2)
stringio
public_suffix (6.0.0)
public_suffix (6.0.1)
puma (6.5.0)
nio4r (~> 2.0)
racc (1.8.1)
Expand Down
5 changes: 4 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@

Capybara.register_driver :chrome do |app|
Capybara::Selenium::Driver.new(app, browser: :chrome)
options.add_argument('--disable_gpu')
options.add_argument('--window-size=1600,3200')
options.add_argument('--disable-search-engine-choice-screen')
end

Capybara.register_driver :headless_chrome do |app|
options = Selenium::WebDriver::Chrome::Options.new
options.add_argument('--headless=old')
options.add_argument('--headless')
options.add_argument('--disable_gpu')
options.add_argument('--window-size=1600,3200')
options.add_argument('--disable-search-engine-choice-screen')
Expand Down