README.md in capybara-screenshot-diff-1.1.0 vs README.md in capybara-screenshot-diff-1.2.0
- old
+ new
@@ -293,12 +293,20 @@
a stability time limit. If the stability time limit is set, a second screen
shot will be taken and compared to the first. This is repeated until two
subsequent screen shots are identical.
```ruby
-Capybara::Screenshot.stability_time_limit = 0.5
+Capybara::Screenshot.stability_time_limit = 0.1
```
+This can be overridden on a single screenshot:
+
+```ruby
+test 'stability_time_limit' do
+ visit '/'
+ screenshot 'index', stability_time_limit: 0.5
+end
+```
### Removing focus from the active element
In Chrome the screenshot includes the blinking input cursor. This can make it impossible to get a