9 use Magento\Mtf\Block\Block;
10 use Magento\Mtf\Client\Locator;
11 use Magento\Mtf\Client\Element\SimpleElement;
35 return $typePriceElement->isVisible() ? $this->
trimPrice($typePriceElement->getText(), $currency) :
null;
46 $mapTypePrice = $this->mapTypePrices[
$type];
47 return $this->_rootElement->find(
48 $mapTypePrice[
'selector'],
49 isset($mapTypePrice[
'strategy']) ? $mapTypePrice[
'strategy'] : Locator::SELECTOR_CSS
62 return str_replace([
',', $currency],
'',
$price);
getTypePriceElement($type)
trimPrice($price, $currency='$')
getTypePrice($type, $currency='$')