<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="http://docs.seleniumhq.org/docs/02_selenium_ide.jsp#the-waitfor-commands-in-ajax-applications">http://docs.seleniumhq.org/docs/02_selenium_ide.jsp#the-waitfor-commands-in-ajax-applications</a><br>
      <pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://hollyit.net">http://hollyit.net</a></pre>
      On 1/27/2014 2:31 AM, Peter Kehl wrote:<br>
    </div>
    <blockquote
cite="mid:CADGQzOJtx=1djxushx=kRPEcJb63E06PCAguY1mV565sv0hGJg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi,<br>
              <br>
              I'm writing a test script in Selenium IDE 2.5.0 (Firefox
              26) for an out-of-the-box Drupal 7.24 (on Fedora 20). The
              script logs in as an admin. Then it clicks at 'People'
              tab. The tab (a page, actually) loads up well (<a
                moz-do-not-send="true"
                href="http://localhost/drupal7/?q=admin%2Fpeople&amp;">http://localhost/drupal7/?q=admin%2Fpeople&amp;</a>);
              however, Selenium IDE can't detect it as loaded (and
              Selenium times out).<br>
              <br>
              If I disable usage of 'overlay-child.js' in
              overlay_library() in
              /usr/share/drupal7/modules/overlay/overlay.module, then
              the problem disappears. The page loads up and gets
              detected as such, too.<br>
              <br>
              I'm new to Drupal. Could someone explain in
              Javascript/HTML terms (not in advanced JQuery) what
              overlay-child.js does, and how that could cause a problem,
              please?<br>
              <br>
              I'm asking you first rather than Selenium people, because
              Selenium is quite application-neutral and such problem are
              rarely caused on its side. It's quite difficult to
              reproduce this without installing Drupal.<br>
              <br>
            </div>
            I've looked at <a moz-do-not-send="true"
href="https://api.drupal.org/api/drupal/modules%21overlay%21overlay.api.php/function/hook_overlay_child_initialize/7">https://api.drupal.org/api/drupal/modules!overlay!overlay.api.php/function/hook_overlay_child_initialize/7</a>
            and at source of overlay.module, but it's not obvious to me.
            It seems to me that clicking at&nbsp; 'People' tab doesn't need
            overlays.<br>
            <br>
          </div>
          Just in case you use Selenium IDE, the script is very simple:<br>
        </div>
        <div>-- be logged in as an admin<br>
        </div>
        <div>open | <a moz-do-not-send="true"
            href="http://localhost/drupal7/">http://localhost/drupal7/</a><br>
        </div>
        clickAndWait | id=toolbar-link-admin-people<br>
        <div>
          <div>
            <div><br>
              Thank you in advance,<br>
              <br>
              -Peter</div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>