File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ source "https://rubygems.org"
4
4
5
5
gem "byebug" , "~> 11.1" , platforms : %i[ mri mingw x64_mingw ]
6
6
gem "chunky_png" , "~> 1.4"
7
+ gem "ferrum" , github : "radiopaedia/ferrum" , branch : "94-expose-mobile"
7
8
gem "image_size" , "~> 3.0"
8
9
gem "launchy" , "~> 2.5"
9
10
gem "pdf-reader" , "~> 2.12"
Original file line number Diff line number Diff line change @@ -25,5 +25,5 @@ Gem::Specification.new do |s|
25
25
s . required_ruby_version = ">= 2.7.0"
26
26
27
27
s . add_dependency "capybara" , "~> 3.0"
28
- s . add_dependency "ferrum" , "~> 0.16.0"
28
+ # s.add_dependency "ferrum", "~> 0.16.0"
29
29
end
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def prepare_page
144
144
super
145
145
146
146
width , height = @options . window_size
147
- resize ( width : width , height : height )
147
+ resize ( width : width , height : height , mobile : @options . mobile )
148
148
149
149
if @options . url_blacklist . any?
150
150
network . blacklist = @options . url_blacklist
You can’t perform that action at this time.
0 commit comments