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
tests
app
Magento
Captcha
Test
Block
Form
LoginWithCaptcha.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Captcha\Test\Block\Form
;
8
9
use
Magento\Customer\Test\Block\Form\Login
;
10
use Magento\Mtf\Client\Locator;
11
15
class
LoginWithCaptcha
extends
Login
16
{
22
private
$captchaImage =
'.captcha-img'
;
23
29
private
$captchaReload =
'.captcha-reload'
;
30
36
public
function
isVisibleCaptcha
()
37
{
38
return
$this->_rootElement->find($this->captchaImage, Locator::SELECTOR_CSS)->isVisible();
39
}
40
46
public
function
isVisibleCaptchaReloadButton
()
47
{
48
return
$this->_rootElement->find($this->captchaReload, Locator::SELECTOR_CSS)->isVisible();
49
}
50
56
public
function
reloadCaptcha
()
57
{
58
$this->_rootElement->find($this->captchaReload, Locator::SELECTOR_CSS)->click();
59
}
60
}
Magento\Customer\Test\Block\Form\Login
Definition:
Login.php:16
Magento\Captcha\Test\Block\Form
Definition:
ContactUs.php:7
Magento\Captcha\Test\Block\Form\LoginWithCaptcha\isVisibleCaptchaReloadButton
isVisibleCaptchaReloadButton()
Definition:
LoginWithCaptcha.php:46
Magento\Captcha\Test\Block\Form\LoginWithCaptcha\isVisibleCaptcha
isVisibleCaptcha()
Definition:
LoginWithCaptcha.php:36
Magento\Captcha\Test\Block\Form\LoginWithCaptcha\reloadCaptcha
reloadCaptcha()
Definition:
LoginWithCaptcha.php:56
Magento\Captcha\Test\Block\Form\LoginWithCaptcha
Definition:
LoginWithCaptcha.php:15