public function submit($selector, array $values = [])
{
if ($this->root && !$this->uri) {
throw new LogicException(sprintf('%s() cannot be called as a first step.', __METHOD__));
}
$step = new self(false);
$step->formSelector = $selector;
$step->formValues = $values;
$this->next = $step;
return $step;
}