Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
MultishippingCheckoutRegister.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Mtf\Client\Locator;
10 use Magento\Mtf\Factory\Factory;
11 use Magento\Mtf\Page\Page;
12 
17 {
21  const MCA = 'multishipping/checkout/register';
22 
28  protected $registerBlock = '#form-validate';
29 
35  protected function initUrl()
36  {
37  $this->url = $_ENV['app_frontend_url'] . self::MCA;
38  }
39 
45  public function getRegisterBlock()
46  {
47  return Factory::getBlockFactory()->getMagentoCustomerFormRegister(
48  $this->browser->find($this->registerBlock, Locator::SELECTOR_CSS)
49  );
50  }
51 }