_generated\TestGuyActions::canSeeOptionIsSelected PHP Method

canSeeOptionIsSelected() public method

Checks that the given option is selected. php seeOptionIsSelected('#form input[name=payment]', 'Visa'); ?>
See also: Codeception\Lib\InnerBrowser::seeOptionIsSelected()
public canSeeOptionIsSelected ( $selector, $optionText ) : mixed
$selector
$optionText
return mixed Conditional Assertion: Test won't be stopped on fail
    public function canSeeOptionIsSelected($selector, $optionText)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeOptionIsSelected', func_get_args()));
    }
TestGuyActions