Geo Chart with PhantomJS

14 views
Skip to first unread message

Kite Chen

unread,
Oct 25, 2017, 1:56:36 AM10/25/17
to phantomjs
Hi All

Currently we use PhantomJS to simulate browser behaviour (e.g. export current html), however there's a great chance that when we call geo api request (this.chart_ = new GoogVisuals.GeoChart(this.view_.node);) and it will stop there with no response until timeout, Is there any bot detection or other reason might lead to this ?

we are using old version of geo api as below

// =============head script================//

<script type='text/javascript' src='https://www.google.com/jsapi'></script>

<script type='text/javascript'>

   var GoogVisuals;

google.load('visualization''1', {'packages': ['geochart']});

google.setOnLoadCallback(function() {

GoogVisuals = google.visualization;

});

</script>

// =============head script================//


Thanks

Reply all
Reply to author
Forward
0 new messages