title: php Codeception not-so-quick start: [PHPUnit\Framework\Exception] Undefined index: ELEMENT
body: <p>So, I followed the Codeception <a href="http://codeception.com/quickstart" rel="nofollow noreferrer">Quick Start instructions</a> faithfully. I run the first example test using the PhpBrowser...</p>
  
  <pre><code># Codeception Test Suite Configuration
  #
  # [further comments omitted]
  # 
  actor: AcceptanceTester
  modules:
      enabled:
          - PhpBrowser:
              url: 'http://office.localhost/'
              browser: 'firefox'
          - \Helper\Acceptance
  </code></pre>
  
  <p>and the test:</p>
  
  <pre><code>&lt;?php
  
  class FirstCest
  {               
      public function frontpageWorks(AcceptanceTester $I)
      {
          $I-&gt;amOnPage('/');
          $I-&gt;see('We hope you enjoy it');
  
      }
  }
  </code></pre>
  
  <p>and all is well.</p>
  
  <p>Then I change the configuration to this:</p>
  
  <pre><code>actor: AcceptanceTester
  modules:
      enabled:
          - WebDriver:
              url: 'http://office.localhost/'
              browser: 'firefox'
          - \Helper\Acceptance
  </code></pre>
  
  <p>per the instructions, and I have Selenium installed and up and running, and away we go...</p>
  
  <pre><code>1) FirstCest: Frontpage works
   Test  tests/acceptance/FirstCest.php:frontpageWorks
  
    [PHPUnit\Framework\Exception] Undefined index: ELEMENT  
  
  
  Scenario Steps:
  
   2. $I-&gt;see("InterpretersOffice") at tests/acceptance/FirstCest.php:22
   1. $I-&gt;amOnPage("/") at tests/acceptance/FirstCest.php:21
  
  #1  /opt/www/court-interpreters-office/vendor/facebook/webdriver/lib/Remote/RemoteWebDriver.php:198
  #2  Codeception\Module\WebDriver-&gt;see
  #3  /opt/www/court-interpreters-office/tests/_support/_generated/AcceptanceTesterActions.php:363
  #4  /opt/www/court-interpreters-office/tests/acceptance/FirstCest.php:22
  #5  FirstCest-&gt;frontpageWorks
  </code></pre>
  
  <p>Selenium is driving Firefox, the page is loaded, the content that <code>$I</code> want to <code>see()</code> is there, so that ain't the problem. I have poked around in the source a bit, but haven't figured this out. I have tried changing <code>$I-&gt;see()</code> to <code>$I-&gt;seeInSource()</code> and found that does work, FWIW.</p>
  
  <p>Any thoughts?</p>