Skip to content

Commit

Permalink
Fix typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
triskweline committed Dec 22, 2023
1 parent 1a572d6 commit e769421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ It is theoretically possible that your test will observe the browser in that win
Any issues caused by this will usually be mitigated by Capybara's retry logic. **If** you think that this is an issue for your test suite, you can configure capybara-headless to wait additional tasks before it considers the browser to be idle:
```ruby
Capybara::Lockstep.wait_tasks = 2 // default is 1
Capybara::Lockstep.wait_tasks = 2 # default is 1
```
If you see longer chains of `then()` or nested `setTimeout()` calls in your code, you may need to configure a higher number of tasks to wait.
Expand Down

0 comments on commit e769421

Please sign in to comment.