If you are reading this post, you probably figured out that PhantomJS won’t display iframes without additional configuration out of the box. The flags that would normally be passed are: --ignore-ssl-errors=true --web-security=false
I am adding this post as a good place to reference this later on. I found a bunch of answers online with this one buried in an issue under the Protractor project on Github.
The following snippet should be added to your protractor.conf.js file:
capabilities: { 'browserName': 'phantomjs', 'phantomjs.cli.args': ['--ignore-ssl-errors=true', '--web-security=false'] }
Leave a Reply