aRandomGuy Posted October 16, 2023 Posted October 16, 2023 Hello Everyone, especially Danp2 for creating such a beautiful UDF, I am working with _WD_SelectFiles to upload a video to site, however the problem is, there is no <input> tag at all to send video. the upload button is a pure <div> tag, i keep digging the HTML source but nothing else. I also try _WD_SelectFiles for <div> tag but it seem helpess. i hope you can look into this case and give me an advice. Thank you
Danp2 Posted October 16, 2023 Posted October 16, 2023 Are you able to share the website's URL so that we can take a look? Latest Webdriver UDF Release Webdriver Wiki FAQs
aRandomGuy Posted October 16, 2023 Author Posted October 16, 2023 Hello sir, thank you for reply, i am looking for upload video here : https://business.facebook.com/latest/reels_composer i tried : stimulate click on add video, re-scan for <input> tag this seem to be a special technology to hide the <input> completely from being automated thank you,
Danp2 Posted October 16, 2023 Posted October 16, 2023 As you've indicated, this is a non-standard element. Facebook uses the ReactJS framework, which can be difficult to automate. If you can figure out how to automate the process using Javascript in the browser's console, then you could use _WD_ExecuteScript to automate the action. Otherwise, you should be able to click the element using webdriver and then fill in the File Upload dialog using standard AutoIt commands. Latest Webdriver UDF Release Webdriver Wiki FAQs
aRandomGuy Posted October 17, 2023 Author Posted October 17, 2023 11 hours ago, Danp2 said: As you've indicated, this is a non-standard element. Facebook uses the ReactJS framework, which can be difficult to automate. If you can figure out how to automate the process using Javascript in the browser's console, then you could use _WD_ExecuteScript to automate the action. Otherwise, you should be able to click the element using webdriver and then fill in the File Upload dialog using standard AutoIt commands. Thank you Dan, i try a while but this seem impossible, the <input> tag is non-exist and therefore, no way to access via webdriver
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now