We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc06cc0 commit abb4902Copy full SHA for abb4902
Gemfile
@@ -4,6 +4,7 @@ source "https://rubygems.org"
4
5
gem "byebug", "~> 11.1", platforms: %i[mri mingw x64_mingw]
6
gem "chunky_png", "~> 1.4"
7
+gem "ferrum", github: "radiopaedia/ferrum", branch: "94-expose-mobile"
8
gem "image_size", "~> 3.0"
9
gem "launchy", "~> 2.5"
10
gem "pdf-reader", "~> 2.12"
lib/capybara/cuprite/page.rb
@@ -144,7 +144,7 @@ def prepare_page
144
super
145
146
width, height = @options.window_size
147
- resize(width: width, height: height)
+ resize(width: width, height: height, mobile: @options.mobile)
148
149
if @options.url_blacklist.any?
150
network.blacklist = @options.url_blacklist
0 commit comments