Skip to content

Instantly share code, notes, and snippets.

View makolesnik's full-sized avatar

Maryna Kolesnik makolesnik

View GitHub Profile
@makolesnik
makolesnik / capybara cheat sheet
Last active December 7, 2022 00:40 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=Create driver=
include Capybara::DSL
Capybara.run_server = false
Capybara.register_driver :chrome do |app|
Capybara::Selenium::Driver.new(app, browser: :chrome)
end
Capybara.default_driver = :chrome
Capybara.app_host = "http://demoapp.strongqa.com"
=Resize Browser=