Twitter automation for tweeting something

I’m automating twitter tweets using selenium. I successfully logged in and reached homepage.
The difficulty is that im unable to select the tweet box to enter my text or image n stuff.
I selected the tweet box using xpath.
But when I run the script, it says no element found (at the line i wrote for the tweet box).

I also want to know how to insert images in my tweet.
Kindly help.

Hey @muditarya31,

You should try adding a delay/wait until the button is loaded. Refer this link. The code is in Java but you will understand the logic though.

Hope this helps!

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.