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 d497855 commit d2de7e2Copy full SHA for d2de7e2
README.md
@@ -64,6 +64,14 @@ end
64
* `:url_blacklist` (Array) - array of regexes to match against requested URLs
65
* `:url_whitelist` (Array) - array of regexes to match against requested URLs
66
67
+You can emulate specific devices at the time you register a driver:
68
+
69
+```ruby
70
+require "capybara/cuprite/devices"
71
+Capybara.register_driver(:cuprite) do |app|
72
+ Capybara::Cuprite::Driver.new(app, Capybara::Cuprite::Devices::IPHONE_14)
73
+end
74
+```
75
76
## Debugging
77
0 commit comments