CasperJS and 'Unsafe JavaScript attempt to access frame with URL' error
Recent PhantomJS (1.9.8) introduced this error message. It doesn't cause any real issue, other than confusing log lines when quiting PhantomJS.
It is fixed in unreleased 1.9 branch:https://github.com/ariya/phantomjs/pull/12720
This issue is fixed in phantomjs version 1.9
"phantomjs": "^1.9.9"
for casperJs
casperjs --ssl-protocol=tlsv1 test run.js
I was getting this same error, so I tried updating to phantomjs 1.9.9
(from 1.9.8
). However, I was getting an install error when trying to install 1.9.9
, so I down rev-ed to phantomjs 1.9.7
, and that fixed this error for me. So, it seems like this is an issue introduced in phantomjs 1.9.8
.