NavpreetDevpuri/PEG

Implement click_at(mouse_button, image_file_path, click_coordinates=(50,50)) using pyautogui in main.py

Closed this issue · 1 comments

click_at(mouse_button, image_file_path, click_coordinates=(50,50)): 
"""
mouse_button will be one value from constants for example MOUSE_BUTTONS.LEFT that will be equal to "left"
"""

It will locate the given image on the screen and click at 50% right 50% down at the image from the upper-left corner

Implement the following function by using the above function

  1. right_click_at()
  2. left_click_at()
  3. middle_click_at()

Could you assign it to me and review the PR when possible? Thanks