Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted
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

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...