Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to join Meeting: Does not find "Join a Meeting" button #69

Closed
Hamza-Kamran opened this issue Jan 24, 2024 · 1 comment
Closed

Comments

@Hamza-Kamran
Copy link

Describe the bug
No matter how long I wait, I am unable to join a meeting. Zoom Window opens but Pyautogui is unable to detect the "Join a Meeting" button.

To Reproduce
Steps to reproduce the behavior:

  1. Modify the given docker file by adding: apt-get install --no-install-recommends -y gnome-screenshot && \ to install gnome-screenshot for recent versions of PIL >= 9.2.0
  2. In the requirements.txt file, change pillow>=8. 1.0 to pillow>=9.2.0
  3. In join_meeting_id(meet_id) function add a minimum search time for pyautogui locateCenterOnScreen: pyautogui.locateCenterOnScreen(os.path.join(IMG_PATH, img_name), minSearchTime=2, confidence=0.9)
  4. Build an image with the new changes
  5. Run the container with docker run -d --restart unless-stopped \ -e DEBUG=True \ -v $(pwd)/recordings:/home/zoomrec/recordings \ -v $(pwd)/example/audio:/home/zoomrec/audio \ -v $(pwd)/example/meetings.csv:/home/zoomrec/meetings.csv:ro \ -p 5901:5901 \ --security-opt seccomp:unconfined \ <IMAGE_NAME>

Expected behavior
Expect zoom window to open and the "Join a Meeting" button to be clicked

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10 Education with WSL
@Hamza-Kamran
Copy link
Author

Hamza-Kamran commented Feb 4, 2024

seems the confidence scores are off. I was able to resolve this error by changing the code in zoomrec.py with a try except block.
try: result = pyautogui.locateCenterOnScreen(os.path.join(IMG_PATH, img_name), minSearchTime=2, confidence=0.6) x, y = result pyautogui.click(x, y) found_join_meeting = True except Exception as e: logger.info("Unable to join meeting yet..Wait 1 sec")
Seems the confidence isnt greater than 0.7 no matter what.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant