Capybara tests also have a number of [session methods](https://rubydoc.info/github/teamcapybara/capybara/master/Capybara/Session) available, such as `accept_confirm`.
Some other useful methods are shown below:
```ruby
refresh# refresh the page
send_keys([:shift,'i'])# press Shift+I keys to go to the Issues dashboard page
current_window.resize_to(1000,1000)# resize the window
scroll_to(find_field('Comment'))# scroll to an element
```
```
You can also find a number of GitLab custom helpers in the `spec/support/helpers/` directory.
#### Live debug
#### Live debug
Sometimes you may need to debug Capybara tests by observing browser behavior.
Sometimes you may need to debug Capybara tests by observing browser behavior.