Exemple #1
0
 public void OnHeadTurnLeft()
 {
     if (useMouse)
     {
         mouse._ShouldMouseLeft = true;
         mouse.MoveMouseLeft();
     }
     else
     {
         if (headCentered)
         {
             Console.WriteLine("TAB FORWARD");
             selenium.TabForward();
             //call faceplaywebdriver tabforward
             headCentered = false;
         }
     }
 }
Exemple #2
0
 public void OnHeadLeft()
 {
     if (useMouse)
     {
         //mouse._ShouldMouseLeft = true;
         mouse.MoveMouseLeft();
     }
     else
     {
         if (headCentered)
         {
             selenium.TabBackward();
             //call faceplaywebdriver tabforward
             headCentered = false;
         }
     }
 }