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

Function rotateByHalfAngle

javascript/atoms/action.js:541–543  ·  view source on GitHub ↗
(offsetVec)

Source from the content-addressed store, hash-verified

539 }
540 var halfRadians = Math.PI * (angle / 180) / 2;
541 function rotateByHalfAngle(offsetVec) {
542 offsetVec.rotate(halfRadians);
543 }
544 bot.action.multiTouchAction_(element,
545 startHalfwayToMax,
546 rotateByHalfAngle,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected