Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Waiting for javascript chart to finish loading before take screenshoot

Received: by 10.204.129.9 with SMTP id m9mr1444318bks.1.1352719380875;
        Mon, 12 Nov 2012 03:23:00 -0800 (PST)
X-BeenThere: casperjs@googlegroups.com
Received: by 10.204.7.212 with SMTP id e20ls6777489bke.8.gmail; Mon, 12 Nov
 2012 03:22:59 -0800 (PST)
Received: by 10.204.145.140 with SMTP id d12mr1450896bkv.6.1352719379187;
        Mon, 12 Nov 2012 03:22:59 -0800 (PST)
Received: by 10.204.145.140 with SMTP id d12mr1450895bkv.6.1352719379174;
        Mon, 12 Nov 2012 03:22:59 -0800 (PST)
Return-Path: <nperria...@gmail.com>
Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45])
        by gmr-mx.google.com with ESMTPS id v13si537505bkw.0.2012.11.12.03.22.58
        (version=TLSv1/SSLv3 cipher=OTHER);
        Mon, 12 Nov 2012 03:22:58 -0800 (PST)
Received-SPF: pass (google.com: domain of nperria...@gmail.com designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of nperria...@gmail.com designates 209.85.215.45 as permitted sender) smtp.mail=nperria...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-la0-f45.google.com with SMTP id m13so5276297lah.32
        for <casperjs@googlegroups.com>; Mon, 12 Nov 2012 03:22:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:sender:in-reply-to:references:from:date
         :x-google-sender-auth:message-id:subject:to:content-type;
        bh=T5ufzE/ssI7k0mt7VRd8c/kmYFo8mXS6S1xnmFIohWg=;
        b=k5ERH5Up2S5vzxqtF0LH4/wKjaaWRoSz3bKB5RW57SiMLOhpQkE+eKakJzKTNpL1l+
         oPDF379WUUdDjtSboV/l+/YGk+iXfq3SdlQZlSRRIcexoIjF8fL3RJbRrNMUnXHUzZXG
         MwxpsYOI8JfisYu7Q6oa1RNkOMDUCEje8/s8X8X4TN8tMsG8zhUlrHiAxLux85O9Vsvm
         BetRZKmjfQPc2t6OBZh1wPjSfX7iieQJv8FV30PgJrJqdkpHnKcG5jnz8WLkS17j1eQ5
         9JmUsbm5ULaXYj9Gb7dA9AOUCiM+FryuTt0cwM4tTijdoAV4qWsuBjIdTWzCxaz+lR1o
         JVOw==
Received: by 10.152.105.236 with SMTP id gp12mr18001137lab.35.1352719378746;
 Mon, 12 Nov 2012 03:22:58 -0800 (PST)
MIME-Version: 1.0
Sender: nperria...@gmail.com
Received: by 10.112.148.133 with HTTP; Mon, 12 Nov 2012 03:22:18 -0800 (PST)
In-Reply-To: <5cf4dd1b-e586-492c-8909-7c6f09715fcd@googlegroups.com>
References: <129c32a0-d7a6-48bf-bd37-85035413811d@googlegroups.com>
 <CAEurpcHyju00JAUt1EAOND6v0kxJgUCsu+bc5Mbup5DuHp1...@mail.gmail.com> <5cf4dd1b-e586-492c-8909-7c6f09715fcd@googlegroups.com>
From: Nicolas Perriault <nico...@perriault.net>
Date: Mon, 12 Nov 2012 12:22:18 +0100
Message-ID: <CAEurpcGeS9SG3RsBfAqRcW4LqVbUtaF2K-pzxp3=VaS-Ud5...@mail.gmail.com>
Subject: Re: [casperjs] Waiting for javascript chart to finish loading before
 take screenshoot
To: casperjs@googlegroups.com
Content-Type: text/plain; charset=UTF-8

On Mon, Nov 12, 2012 at 11:05 AM, T. Ho <hot...@gmail.com> wrote:

> I have a DIV with id = "container" and here is my code inside evaluate
> function:
>
> var contain= document.getElementById ("container");
>         return contain.querySelectorAll('svg').length > 2;

I meant the whole graphics code

++

-- 
Nicolas Perriault
https://nicolas.perriault.net/
Phone: +33 (0) 660 92 08 67