How do I access a form inside a modal? Currently I have something like this, but I can't fill the form fields. It displays this error:
[Facebook\WebDriver\Exception\InvalidElementStateException] invalid element state: Element is not currently interactable and may not be manipulated
$I->scrollTo($editButton);
$I->wait(4);
$I->click($editButton);
$I->waitForElement(".popUp-container");
$I->wait(3);
$I->waitForElement('#user-edition-form');
$I->fillField('//*[@id="edit-user-data"]/div[1]/div[2]/input', 'AAA');
Aucun commentaire:
Enregistrer un commentaire