Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Status.php
Go to the documentation of this file.
1 <?php
7 
8 use Magento\Mtf\Block\Block;
9 use Magento\Mtf\Client\Locator;
10 
16 class Status extends Block
17 {
23  protected $button = '.btn-large';
24 
30  public function clickDisable()
31  {
32  $this->_rootElement->find($this->button, Locator::SELECTOR_CSS)->click();
33  }
34 
40  public function clickEnable()
41  {
42  $this->_rootElement->find($this->button, Locator::SELECTOR_CSS)->click();
43  }
44 }