Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yusukeiwaki/rails_simple-capybara-example


https://github.com/yusukeiwaki/rails_simple-capybara-example

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Use Capybara only for launch server.

```rb
it 'can browse' do
page.goto("#{base_url}/test")
page.wait_for_selector('input', visible: true)
page.type_text('input', 'hoge')
page.keyboard.press('Enter')
expect(page.eval_on_selector('#content', 'el => el.textContent')).to include('hoge')
end
```

![demo](demo.gif)