Automate Image PDF Videos Upload Via Whatsapp
How to upload image, pdf and video files automatically via Whatsapp desktop using VBA with Chrome, Selenium and Selenium Wrapper softwares.
Option Explicit
Dim driver As New WebDriver
Sub SendDataUsingChromeDriverSeleniumWrapper()
'Chrome Driver
'Selenium
'Selenium Wrapper
Dim filepath As String, myMessage As String
Dim keys As New SeleniumWrapper.keys
myMessage = Sheet1.Range("C2")
filepath = InputBox("Enter the file path")
driver.Start "chrome"
driver.Get "https://web.whatsapp.com/send?phone=919810081867&text=" & myMessage
driver.Window.Maximize
driver.Wait 5000
driver.FindElementByXPath("//div[@title='Attach']").Click
driver.Wait 10000
driver.FindElementByXPath("//input[@accept='image/*,video/mp4,video/3gpp,video/quicktime']").SendKeys (filepath)
driver.Wait 2000 ' this wait time depends on the size of your file max 64 mb
driver.FindElementByXPath("//span[@data-icon = 'send']").Click
driver.Wait 2000
driver.SendKeys (keys.Enter)
End Sub
Видео Automate Image PDF Videos Upload Via Whatsapp канала Dinesh Kumar Takyar
Option Explicit
Dim driver As New WebDriver
Sub SendDataUsingChromeDriverSeleniumWrapper()
'Chrome Driver
'Selenium
'Selenium Wrapper
Dim filepath As String, myMessage As String
Dim keys As New SeleniumWrapper.keys
myMessage = Sheet1.Range("C2")
filepath = InputBox("Enter the file path")
driver.Start "chrome"
driver.Get "https://web.whatsapp.com/send?phone=919810081867&text=" & myMessage
driver.Window.Maximize
driver.Wait 5000
driver.FindElementByXPath("//div[@title='Attach']").Click
driver.Wait 10000
driver.FindElementByXPath("//input[@accept='image/*,video/mp4,video/3gpp,video/quicktime']").SendKeys (filepath)
driver.Wait 2000 ' this wait time depends on the size of your file max 64 mb
driver.FindElementByXPath("//span[@data-icon = 'send']").Click
driver.Wait 2000
driver.SendKeys (keys.Enter)
End Sub
Видео Automate Image PDF Videos Upload Via Whatsapp канала Dinesh Kumar Takyar
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Whatsapp Desktop Automation with VBA](https://i.ytimg.com/vi/kYcbEGYCABE/default.jpg)
![Whatsapp Automation - Send Attachments - using Python](https://i.ytimg.com/vi/x85ba0VYsYo/default.jpg)
![Analyze Large Amounts of Data in Excel](https://i.ytimg.com/vi/eKoCML8Vl_I/default.jpg)
![Send Emails from Excel with Power Automate](https://i.ytimg.com/vi/vg4NmlscoFU/default.jpg)
![Automatically Send Message with Image Via Whatsapp](https://i.ytimg.com/vi/TtdDnY2GQQo/default.jpg)
![Create Folders and Files Automatically](https://i.ytimg.com/vi/kN5VAgu4E2Q/default.jpg)
![How to transfer data from a user form to multiple worksheets in a workbook in Excel using VBA](https://i.ytimg.com/vi/-PH1xDvSijA/default.jpg)
![List Files in Folder Create Hyperlink](https://i.ytimg.com/vi/nMtE8A2F_UU/default.jpg)
![Send whatsapp include attachment using VBA #2(Set Coordinate, send text and attachment in whatsapp)](https://i.ytimg.com/vi/70OzSbL4JLE/default.jpg)
![](https://i.ytimg.com/vi/-FTXb0wRNAQ/default.jpg)
![Python Automated Bulk Whatsapp messages from Excel CSV sheet #python](https://i.ytimg.com/vi/bHleF9H6Vpk/default.jpg)
![Track Changes in Excel Worksheet Without VBA](https://i.ytimg.com/vi/mkEKVB1gjl4/default.jpg)
![Step by step using Selenium VBA to send whatsapp (Chrome Automation)](https://i.ytimg.com/vi/O0EzGzM22iY/default.jpg)
![Send Bulk SMS from Excel in 2020](https://i.ytimg.com/vi/ilEJz0Tj9o4/default.jpg)
![Send Whatsapp Message from Excel Sheet through VBA](https://i.ytimg.com/vi/IF8c9sqIYFo/default.jpg)
![Get Data from Outlook into Excel worksheet](https://i.ytimg.com/vi/35g8J2mzdUY/default.jpg)
![Send whatsapp include attachment using vba #1 (Get attachment coordinate)](https://i.ytimg.com/vi/mydm9_Lu4ds/default.jpg)
![Excel Macro Tutorial - Learn how macros can really speed up your work in Excel](https://i.ytimg.com/vi/-QHT6TEm3NE/default.jpg)
![Google Sheets for Translation](https://i.ytimg.com/vi/BOxEldyKSrI/default.jpg)
![SEND WHATSAPP MESSAGES AUTOMATICALLY | MAKING APPS THAT AUTOMATE THINGS | ANDROID PROGRAMMING](https://i.ytimg.com/vi/UQPnqbz-Xcg/default.jpg)