1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-04-07 07:19:58 +02:00
ferret/pkg/drivers/cdp/input/helpers.go
Tim Voronov 5119d62838
Feature/#478 keyboard events (#618)
* Added support of pressin special keys

* Linting
2021-04-23 10:42:31 -04:00

12 lines
186 B
Go

package input
import (
"time"
"github.com/MontFerret/ferret/pkg/runtime/core"
)
func randomDuration(delay int) time.Duration {
return time.Duration(core.Random2(float64(delay)))
}