MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / getTimePerKey

Function getTimePerKey

cpp/webdriver-interactions/interactions_linux.cpp:565–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563guint32 gModifiersState = 0;
564
565int getTimePerKey(int proposedTimePerKey)
566{
567 const int minTimePerKey = 10 /* ms */;
568 if (proposedTimePerKey < minTimePerKey) {
569 return minTimePerKey;
570 }
571
572 return proposedTimePerKey;
573}
574
575void updateLastEventTime(const guint32 lastEventTime) {
576 if (gLatestEventTime < lastEventTime) {

Callers 2

sendKeysFunction · 0.85
releaseModifierKeysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected