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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -