n1k0/casperjs — Issue #32: bug report:Anchor tags with href="javascript:....."
Author: olddog
Created: 2011-12-27 05:32:54+00:00
State: open

I really like phantomjs. it's very usefull

Consider visiting a Web site page (http://www.abc.com/a/b.html), the
page has a link, the href attribute is "javascript: loadData ('2 ')",
and loadData function is implemented as
function loadData (page) {
window.location.href = "/ a / b_" + page + ". html";
}

When I use sendEvent method can correctly simulate a click, but did
not actually have access to http://www.abc.com/a/b_2.html and it seems
an error occurred. The specific error is unknown. But seems to be
access to the file system / a/b_2.html the causes of errors,
thanks
btw:I have test PhantomJS 1.3, 1.4, the errors are the same