Sha256: cb3576f775ec47d94aa6d0860a3e58ca051e82998a6344d9f3e454aaffd96dbf
Contents?: true
Size: 391 Bytes
Versions: 1
Compression:
Stored size: 391 Bytes
Contents
require_relative "../../../puppeteer-rails-tester" # Load Runner and other dependencies module PuppeteerRailsTester class ExampleTest def self.run Runner.run do |browser| page = browser.new_page page.goto("http://example.com") puts "Page title: #{page.title}" # Outputs the title of the example.com page browser.close end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puppeteer-rails-tester-0.1.0 | lib/puppeteer/rails/tester/example_test.rb |