Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
functional
lib
Magento
Mtf
Client
Element
SimplifiedselectElement.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Mtf\Client\Element
;
8
9
use Magento\Mtf\Client\Locator;
10
14
class
SimplifiedselectElement
extends
SelectElement
15
{
21
protected
$optionGroupValue
=
".//*[@data-title='%s' or contains(normalize-space(.), %s)]"
;
22
29
public
function
setValue
(
$value
)
30
{
31
$this->eventManager->dispatchEvent([
'set_value'
], [__METHOD__, $this->getAbsoluteSelector()]);
32
$xpath = sprintf($this->optionGroupValue,
$value
, $this->escapeQuotes(
$value
));
33
$option
= $this->
find
($xpath, Locator::SELECTOR_XPATH);
34
$option
->click();
35
}
36
}
find
taxRateField find('.mselect-list') .on( 'click.mselect-edit'
Definition:
edit.phtml:162
Magento\Mtf\Client\Element\SimplifiedselectElement\$optionGroupValue
$optionGroupValue
Definition:
SimplifiedselectElement.php:21
Magento\Mtf\Client\Element\SimplifiedselectElement\setValue
setValue($value)
Definition:
SimplifiedselectElement.php:29
$value
$value
Definition:
gender.phtml:16
Magento\Mtf\Client\Element\SimplifiedselectElement
Definition:
SimplifiedselectElement.php:14
Magento\Mtf\Client\Element
Definition:
ConditionsElement.php:7
$option
$option
Definition:
product_configurable_with_single_child.php:38