| Methods |
public
|
getSession($name = null): MinkSession
|
#
|
public
|
assertSession($name = null): WebAssert
|
#
|
protected
|
getScenario(StepScope $event): ScenarioInterface
|
#
|
public
|
closeAllToasts(BeforeStepScope $event): void
|
#
|
public
|
waitUntilLoadingAndAnimationFinished(AfterStepScope $event): void
|
#
|
protected
|
getFinishedScript(): string
|
#
|
protected
|
jqueryWait(string $extraWaitCondition = 'true', array $args = [], int $maxWaitdurationMs = 5000): void
Wait till jQuery AJAX request finished and no animation is perform.
Wait till jQuery AJAX request finished and no animation is perform.
|
#
|
protected
|
disableAnimations(): void
|
#
|
protected
|
assertNoException(): void
|
#
|
protected
|
assertNoDuplicateId(): void
|
#
|
protected
|
parseSelector(string $selector): array{('css'|'xpath'), string}
|
#
|
protected
|
findElements(?NodeElement $context, string $selector): array<NodeElement>
|
#
|
protected
|
findElement(?NodeElement $context, string $selector): NodeElement
|
#
|
protected
|
unquoteStepArgument(string $argument): string
|
#
|
public
|
iWait(int $ms): void
Sleep for a certain time in ms.
Sleep for a certain time in ms.
|
#
|
public
|
iPressWrite(string $text, string $selector): void
|
#
|
public
|
iDragElementOnto(string $selector, string $selectorTarget): void
|
#
|
public
|
iPressButton(string $buttonLabel): void
|
#
|
public
|
iSeeButton(string $buttonLabel): void
|
#
|
public
|
idontSeeButton(string $text): void
|
#
|
public
|
iClickLink(string $label): void
|
#
|
public
|
iClickUsingSelector(string $selector): void
|
#
|
public
|
iClickPatchedUsingSelector(string $selector): void
\Behat\Mink\Driver\Selenium2Driver::clickOnElement() does not wait until AJAX is completed after scroll.
\Behat\Mink\Driver\Selenium2Driver::clickOnElement() does not wait until AJAX is completed after scroll.
One solution can be waiting for AJAX after each \WebDriver\AbstractWebDriver::curl() call.
|
#
|
public
|
iClickPaginatorPage(string $pageNumber): void
|
#
|
public
|
iFillField(string $selector, string $value): void
|
#
|
public
|
iPressModalButton(string $buttonLabel): void
|
#
|
public
|
modalIsOpenWithText(string $text, string $selector = '*'): void
|
#
|
public
|
iFillModalField(string $fieldName, string $value): void
|
#
|
public
|
iClickCloseModal(): void
|
#
|
public
|
iHideJsModal(): void
|
#
|
public
|
panelIsOpen(): void
|
#
|
public
|
panelIsOpenWithText(string $text, string $selector = '*'): void
|
#
|
public
|
iFillPanelField(string $fieldName, string $value): void
|
#
|
public
|
iPressPanelButton(string $buttonLabel): void
|
#
|
public
|
iClickTabWithTitle(string $tabTitle): void
|
#
|
public
|
activeTabShouldBe(string $title): void
|
#
|
public
|
inputValueShouldStartWith(string $inputName, string $text): void
|
#
|
public
|
iSearchGridFor(string $text): void
|
#
|
public
|
iSelectValueInLookup(string $value, string $inputName): void
|
#
|
public
|
iSelectFile(string $inputName, string $fileContent, string $fileName): void
|
#
|
private
|
getScopeBuilderRuleElem(string $ruleName): NodeElement
|
#
|
public
|
scopeBuilderRule(string $name, string $operator, string $value): void
Generic ScopeBuilder rule with select operator and input value.
Generic ScopeBuilder rule with select operator and input value.
|
#
|
public
|
scopeBuilderReferenceRule(string $name, string $operator, string $value): void
HasOne reference or enum type rule for ScopeBuilder.
HasOne reference or enum type rule for ScopeBuilder.
|
#
|
public
|
scopeBuilderSelectRule(string $name, string $operator, string $value): void
HasOne select or enum type rule for ScopeBuilder.
HasOne select or enum type rule for ScopeBuilder.
|
#
|
public
|
scopeBuilderDateRule(string $name, string $operator, string $value): void
Date, Time or Datetime rule for ScopeBuilder.
Date, Time or Datetime rule for ScopeBuilder.
|
#
|
public
|
scopeBuilderBoolRule(string $name, string $value): void
Boolean type rule for ScopeBuilder.
Boolean type rule for ScopeBuilder.
|
#
|
public
|
compareInputValueToText(string $selector, string $text): void
|
#
|
public
|
compareInputValueToElementText(string $inputName, string $selector): void
|
#
|
public
|
dump(string $arg1): void
|
#
|
public
|
iClickFilterColumnName(string $columnName): void
|
#
|
public
|
containerShouldHaveNumberOfItem(string $selector, int $numberOfitems): void
|
#
|
public
|
iScrollToTop(): void
|
#
|
public
|
iScrollToBottom(): void
|
#
|
public
|
toastDisplayShouldContainText(string $text): void
|
#
|
public
|
noToastShouldBeDisplayed(): void
|
#
|
public
|
assertUrlRegExp(string $pattern): void
Remove once https://github.com/Behat/MinkExtension/pull/386 and
https://github.com/minkphp/Mink/issues/656 are fixed…
|
#
|
public
|
compareElementText(string $compareSelector, string $compareToSelector): void
|
#
|
public
|
textInContainerShouldMatch(string $selector, string $text): void
|
#
|
public
|
textInContainerShouldMatchRegex(string $selector, string $regex): void
|
#
|
public
|
elementAttributeShouldContainText(string $selector, string $attribute, string $text): void
|
#
|
private
|
assertDropdownValue(NodeElement $element, string $value, string $selector): void
Find a dropdown component within an HTML element
and check if value is set in dropdown.
Find a dropdown component within an HTML element
and check if value is set in dropdown.
|
#
|
private
|
assertSelectedValue(NodeElement $element, string $value, string $selector): void
Find a select input type within an HTML element
and check if value is selected.
Find a select input type within an HTML element
and check if value is selected.
|
#
|
private
|
assertInputValue(NodeElement $element, string $value, string $selector = 'input'): void
Find an input within an HTML element and check
if value is set.
Find an input within an HTML element and check
if value is set.
|
#
|