PhantomJS and iFrame

前端 未结 2 1578
礼貌的吻别
礼貌的吻别 2021-02-06 00:04

I\'m using phantomjs(1.5) and casperjs for my functional tests.

casper = require(\'casper\').create
  loadImages: false


casper.start \'http://vk.com\', ->
          


        
2条回答
  •  一整个雨季
    2021-02-06 01:06

    If your application is on a different domain than the one in the iframe, then your script can't interact with the iframe's contents. See: Can scripts in iframe interact with scripts in the main page

提交回复
热议问题