I am not familiar with codeception. I am trying to insert a text in an input field and press the ENTER button.
$I->fillField('#token-input-yw1', 'Some string');
$I->pressKey('#token-input-yw1', 13);
The text is entered but the enter key is not pressed. Any ideas?
If anyone still have problem with pressing Enter key, here is a solution: (if you are using Webdriver with Selenium)
$I->pressKey('#input',WebDriverKeys::ENTER);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With