title: Testing: Unable to locate element
body: <p>I learn testing. I created something like this:</p>
  
  
  
  <pre class="lang-php prettyprint-override"><code> $this-&gt;browse(function ($browser) {
          $browser-&gt;visit('/en/register')
                  -&gt;type('name', 'hello')
                  -&gt;type('email', 'asdsad@o2.pl')
                  -&gt;type('password', 'hello')
                  -&gt;type('password_confirmation', 'hello')
                  -&gt;click('register');
      });
  </code></pre>
  
  <p>I have the error:</p>
  
  <blockquote>
    <p>Tests\Browser\ExampleTest::testBasicExample
    Facebook\WebDriver\Exception\NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"body register"}
    For test I want to testing standard register form.</p>
  </blockquote>