HashNuke / hound

Elixir library for writing integration tests and browser automation

Home Page:http://hexdocs.pm/hound

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I change the phantomjs viewportSize?

josuehenrique opened this issue · comments

I find somthing like it

Capybara.register_driver :poltergeist do |app|
  options = {
    #The dimensions of the browser window in which to test, expressed as a 2-element array,
    :window_size => [1280, 800],
    :js_errors => false
  }