Пример #1
0
 public void OnHeadTurnUp()
 {
     if (useMouse)
     {
         mouse._ShouldMouseUp = true;
         mouse.MoveMouseUp();
     }
     else
     {
         if (headCentered)
         {
             Console.WriteLine("SCROLL UP");
             selenium.ScrollUp();
             //call faceplaywebdriver SCROLL UP
             headCentered = false;
         }
     }
 }
Пример #2
0
 public void OnHeadUp()
 {
     if (useMouse)
     {
         //mouse._ShouldMouseUp = true;
         mouse.MoveMouseUp();
     }
     else
     {
         if (headCentered)
         {
             selenium.ScrollUp();
             //call faceplaywebdriver SCROLL UP
             headCentered = false;
         }
     }
 }