title: Undefined, Undefined in Chrome notification when it's triggered from Selenium
body: <p>I am working on automating a website written in Python and using Angular where there are many confirmation notifications. The issue I have is that Behat doesn't seem to recognise those notifications, let alone allow me to interact with them.</p>
  
  <p>I have attached screenshots of what the notification should look like and the Undefined – Undefined error message Behat produces instead.</p>
  
  <p><strong>My scenario:</strong></p>
  
  <pre><code>Then I select the Delete the Media Plan Line Checkbox
  And I delete the Media Plan Line
  And I select Yes to confirm the deletion
  And I select No to confirm the deletion
  </code></pre>
  
  <p><strong>And my context:</strong></p>
  
  <pre><code>/**
   * @Then /^I select the Delete the Media Plan Line Checkbox$/
   */
  public function iDeleteMediaPlanLineCheckbox()
  {
      /**
       * @var AddMediaPlan $addMediaPlan
       */
      $addMediaPlan= $this-&gt;getPage('AddMediaPlan');
      $addMediaPlan-&gt;deleteMediaPlanLineCheckbox();
  }
  
  /**
   * @Given /^I delete the Media Plan Line$/
   */
  public function iDeleteTheMediaPlanLine()
  {
      /**
       * @var AddMediaPlan $addMediaPlan
       */
      $addMediaPlan= $this-&gt;getPage('AddMediaPlan');
      $addMediaPlan-&gt;deleteMediaPlanLines();
  }
  
  public function deleteMediaPlanLineCheckbox ()
  {
      $this-&gt;getElement('deleteMediaPlanLineArea')-&gt;click();
      $this-&gt;getSession()-&gt;wait(2000);
      $element = $this-&gt;getElement('deleteMediaPlanLineCheckbox');
      $this-&gt;scrollWindowToElement($element);
      $element-&gt;click();
      $this-&gt;getSession()-&gt;wait(4000);
  }
  
  public function deleteMediaPlanLines ()
  {
      $this-&gt;getSession()-&gt;wait(2000);
      $this-&gt;getElement('deleteMediaPlanLines')-&gt;click();
      $this-&gt;getSession()-&gt;wait(800000);
  }
  
  public function deletePopUpYes ()
  {
      $this-&gt;getElement('deletePopUpYes')-&gt;click();
      $this-&gt;getSession()-&gt;wait(2000);
  }
  
  public function deletePopUpNo ()
  {
      $this-&gt;getElement('deletePopUpNo')-&gt;click();
      $this-&gt;getSession()-&gt;wait(2000);
  }
  </code></pre>
  
  <p><strong>Working notification</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Zkyij.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zkyij.png" width="449" height="46"/></a>
  </p>
  
  <p><strong>Broken notification</strong></p>
  
  <p><img src="https://i.stack.imgur.com/Dd69g.png" width="359" height="77"/></p>
  
  <p>And <a href="https://drive.google.com/file/d/0B4xBztiLxfvSck42QnRicUZ1M3c/view?usp=sharing" rel="nofollow noreferrer">here</a> is the video.</p>