Exemple #1
0
 public void OnHeadTurnRight()
 {
     if (useMouse)
     {
         mouse._ShouldMouseRight = true;
         mouse.MoveMouseRight();
     }
     else
     {
         if (headCentered)
         {
             Console.WriteLine("TAB BACK");
             selenium.TabBackward();
             //call faceplaywebdriver tabbackward
             headCentered = false;
         }
     }
 }
Exemple #2
0
 public void OnHeadRight()
 {
     if (useMouse)
     {
         //mouse._ShouldMouseRight = true;
         mouse.MoveMouseRight();
     }
     else
     {
         if (headCentered)
         {
             selenium.TabForward();
             //call faceplaywebdriver tabbackward
             headCentered = false;
         }
     }
 }