Answer the question
In order to leave comments, you need to log in
How to highlight text in input in codeception?
Hello!
There is some bug that appears if you open the order form, enter something in the text input and select it with the mouse. I want to write a test for it. How to open the form and enter text clearly:
$I->click(['link' => 'Заказать']);
$I->waitForElement('#order-comment', 5);
$I->fillField('#order-comment', 'test comment');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question