Skip to content

Slowness reported with selenium 2.45.0 #1445

Closed
@santoshkothapalli

Description

@santoshkothapalli

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions