I have no expirience with phantom.js, maybe the reason is old version or something? I rather prefer selenium