title: Laravel Dusk Can't Read Click of Undefined
body: <p>I tried simple demo of laravel dusk but I get the following error; I tried to update composer installer as suggested by some solution and also tried to set duskcommand.php as suggested on git but still having the error.</p>
  <blockquote>
  <p>Warning: TTY mode is not supported on Windows platform.<br />
  PHPUnit 7.3.5 by Sebastian Bergmann and contributors.</p>
  <p>[1004/130622.087:ERROR:gpu_process_transport_factory.cc(1007)] Lost UI shared context.</p>
  <ol>
  <li>Tests\Browser\RegisterTest::testExample<br />
  Facebook\WebDriver\Exception\UnknownServerException: unknown error: Cannot read property 'click' of undefined<br />
  (Session info: headless chrome=69.0.3497.100)<br />
  (Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64)</li>
  </ol>
  </blockquote>
  <p>I'm trying this demo in Windows 10.</p>
  <p>below is my RegisterTest.php</p>
  <pre><code>&lt;?php
  
  namespace Tests\Browser;
  
  use Tests\DuskTestCase;
  use Laravel\Dusk\Browser;
  use Illuminate\Foundation\Testing\DatabaseMigrations;
  
  class RegisterTest extends DuskTestCase
  {
      /**
       * A Dusk test example.
       *
       * @return void
       */
      public function testExample()
      {
          $this-&gt;browse(function ($browser) {
              $browser-&gt;visit('/') //Go to the homepage
                      -&gt;clickLink('Register') //Click the Register link
                      -&gt;assertSee('Register') //Make sure the phrase in the argument is on the page
              //Fill the form with these values
                      -&gt;value('#name', 'Joe') 
                      -&gt;value('#email', 'joe@example.com')
                      -&gt;value('#password', '123456')
                      -&gt;value('#password-confirm', '123456')
                      -&gt;click('button[type=&quot;submit&quot;]') //Click the submit button on the page
                      -&gt;assertPathIs('/home') //Make sure you are in the home page
              //Make sure you see the phrase in the argument
                      -&gt;assertSee(&quot;You are logged in!&quot;); 
          });
      }
  }
  </code></pre>