_generated\AcceptanceTesterActions::grabValueFrom PHP Method

grabValueFrom() public method

Finds the value for the given form field. If a fuzzy locator is used, the field is found by field name, CSS, and XPath. php grabValueFrom('Name'); $name = $I->grabValueFrom('input[name=username]'); $name = $I->grabValueFrom('descendant-or-self::form/descendant::input[@name = 'username']'); $name = $I->grabValueFrom(['name' => 'username']); ?>
See also: Codeception\Module\WebDriver::grabValueFrom()
public grabValueFrom ( $field ) : mixed
$field
return mixed
    public function grabValueFrom($field)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\Action('grabValueFrom', func_get_args()));
    }
AcceptanceTesterActions