PhantomJs iframe not loading -
hello using capybara test, test app. iframe isn't displayed automated testing. trying test stripe elements, stored in iframe. suspect it's related phanotmjs settings. tried add web-security option conf
capybara.register_driver :poltergeist |app| options = { :timeout => default_wait_time, :debug => false, :phantomjs_options => ['--ignore-ssl-errors=yes', '--ssl-protocol=any', '--disk-cache=false', '--load-images=no', '--web-security=false' ], :inspector => false, :js_errors => false } capybara::poltergeist::driver.new(app, options) end
anyone idea how solve this, maybe similar problem
problem in outdated version of capybara, try update it, , issue gone, update phantomjs
Comments
Post a Comment