Wait until Video uploads completely by Excel VBA using Selenium Web driver
Hello Mates,
I'm trying to upload a video using Selenium on a website I have successfully created the code to upload the video to any web page! But Finding the problem when waiting for the video to complete the uploading process. Waiting should be dynamic. Yes, Sometimes, Video may take 3 minutes to upload and sometimes maybe 5 to 10 minutes depends upon the size of the media. Guys, would you help me with this?
Thank you
Is there any indication of when it completes? What happens if you try to delete it while it is uploading?
Dear Friends, I have got the solution. Thank you for your feedback mogulman52 👍
I have found that one image has continuously appeared during upload..so I retain the XPath of that element and used that in find the elements.
It's like...
do until bot.FindElementsByXPath("Xpath of the that elements").count = 0
bot.wait 1000
loop