c# existing desktop project need to fix xpath of whatsapp application

Job ID: 32400842

Budget: $10 – $30 USD

My application developed in c# desktop application to send mass messages (text and image) to selected numbers by using whatsapp. i got error in xpath as following code
driver.FindElement(By.XPath("//*[@id='main']/footer/div[1]/div/div/div[1]/div[2]/div/div/span")).Click();

and not sent the message got error in this breakpoint.
Related categories: .NET C# Programming