I am writing a simple program to send JPG files via WhatsApp in Python. The program opens WhatsApp in the browser, writes the caption but doesn't send neither the caption nor the attachment/jpeg file. It produces the following error:
2023-08-20 20:27:09.339 osascript[4867:190025] CFURLGetFSRef was passed a URL which has no scheme (the URL will not work with other CFURL routines)
Description
I am writing a simple program to send JPG files via WhatsApp in Python. The program opens WhatsApp in the browser, writes the caption but doesn't send neither the caption nor the attachment/jpeg file. It produces the following error:
2023-08-20 20:27:09.339 osascript[4867:190025] CFURLGetFSRef was passed a URL which has no scheme (the URL will not work with other CFURL routines)
To Reproduce
This is the code:
import pywhatkit as pwk
Screenshots
If applicable, add Screenshots to help explain your Problem
Version Information
You can Check the PyWhatKit Version using