Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SearchForm.php
Go to the documentation of this file.
1 <?php
7 
8 use Magento\Mtf\Block\Form;
9 
13 class SearchForm extends Form
14 {
20  private $searchButton = '[type=submit]';
21 
27  public function search()
28  {
29  $this->browser->find($this->searchButton)->click();
30  }
31 }