Closed
Description
We are investigating the slowness with the driver and our investigations lead to the defect in the code in cpp/webdriver-interactions/interactions.cpp , we are forced to wait upto 5 seconds for every keystroke. can this time be reduced for faster execution.
Also the pressed is always false and is not been reset to true any where.
209 clock_t maxWait = clock() + 5000;
210 while (!pressed) {
211 wait(5);
212 if (clock() >= maxWait) {
213 LOG(WARN) << "Timeout awaiting keypress: " << keyCode;
214 break;
215 }
216 }
217 }
Metadata
Metadata
Assignees
Labels
No labels