Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AuthorizenetLogin.php
Go to the documentation of this file.
1 <?php
7 
8 use Magento\Mtf\Block\Form;
9 use Magento\Mtf\Client\Element\SimpleElement;
10 use Magento\Mtf\Fixture\FixtureInterface;
11 
15 class AuthorizenetLogin extends Form
16 {
22  private $loginButton = '[type=submit]';
23 
31  public function fill(FixtureInterface $fixture, SimpleElement $element = null)
32  {
33  parent::fill($fixture, $element);
34  return $this;
35  }
36 
42  public function login()
43  {
44  $this->_rootElement->find($this->loginButton)->click();
45  }
46 }
fill(FixtureInterface $fixture, SimpleElement $element=null)
$element
Definition: element.phtml:12