Estou com um problema no formulário de um scraper que desejo realizar:
Fatal error: Uncaught InvalidArgumentException: Input "SelectedCity" cannot take "Nome da Ciadde" as a value (possible values: ""). in C:\xampp\htdocs\curso_scraping\vendor\symfony\dom-crawler\Field\ChoiceFormField.php:140
Stack trace:
#0 C:\xampp\htdocs\curso_scraping\vendor\symfony\dom-crawler\FormFieldRegistry.php(115): Symfony\Component\DomCrawler\Field\ChoiceFormField->setValue('Curitiba')
#1 C:\xampp\htdocs\curso_scraping\vendor\symfony\dom-crawler\Form.php(75): Symfony\Component\DomCrawler\FormFieldRegistry->set('SelectedCity', 'Curitiba')
#2 C:\xampp\htdocs\curso_scraping\vendor\symfony\dom-crawler\Crawler.php(898): Symfony\Component\DomCrawler\Form->setValues(Array)
#3 C:\xampp\htdocs\curso_scraping\vendor\symfony\browser-kit\AbstractBrowser.php(323): Symfony\Component\DomCrawler\Crawler->form(Array, 'POST')
#4 C:\xampp\htdocs\curso_scraping\listar_vendedores.php(17): Symfony\Component\BrowserKit\AbstractBrowser->submitForm('BuscarPostal...', Array, 'POST')
#5 {main}
thrown in C:\xampp\htdocs\curso_scraping\vendor\symfony\dom-crawler\Field\ChoiceFormField.php on line 140
Alguém pode ajudar?