mixu / electroshot

Capture website screenshots with optional device and network emulation as jpg, png or pdf (with web fonts!) using Electron / Chrome.
548 stars 34 forks source link

javascript errors when try to get snapshot from powerbi report #17

Open gealbin opened 7 years ago

gealbin commented 7 years ago

Hi, Im trying to get a snapshot from a powerbi report and electron is not loading jquery and angular. The command that I'm running is:

electroshot https://app.powerbi.com/view?r=eyJrIjoiY2UwNmZkMDItN2Y0My00Mzc4LTk2ODAtZGZlMzY5MjUxZDU0IiwidCI6ImNmNzM2YWVhLWU4ZGUtNDNiMy1hZmNmLTcxYTg1ODU1NTVmNiIsImMiOjN9 1024x768 --delay 30000 --js --debug

and I'm getting these errors when trying to load jquery (I'm not including aditional errors that might be related):

jQuery is not defined(anonymous function)
Uncaught ReferenceError: $ is not defined

I'm running this command on Windows and my versions are: shot v1.3.0 electron v1.4.16 chrome v53.0.2785.143

Any ideas hoy can I load jquery in this kind of sites? Thanks in advance!