Esempio n. 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;
         }
     }
 }
Esempio n. 2
0
 public void OnHeadUp()
 {
     if (useMouse)
     {
         //mouse._ShouldMouseUp = true;
         mouse.MoveMouseUp();
     }
     else
     {
         if (headCentered)
         {
             selenium.ScrollUp();
             //call faceplaywebdriver SCROLL UP
             headCentered = false;
         }
     }
 }