Get File Name from webpage

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Dan Potter Dan Potter 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #54304
    Profile photo of Neeraj Pandey
    Neeraj Pandey
    Participant

    Hi There,

    I am working on downloading file from a webpage. On click of link a javascript code is executed and file download starts.
    So far I am able to download the file with

    [pre]
    $ie.getElementById('ctl00_ph1_rv_up_tcPM_CtrlTabHeader_fvReq_ctlFileID_ctlFileID_cmdName').click()
    [/pre]

    Is there a way that I can capture the file name which is being downloaded here.

    Thanks.

    #54310
    Profile photo of Dan Potter
    Dan Potter
    Participant

    You don't need to "capture" the file name if you've already figured out how to download it then the filename is most likely listed in the directory it was downloaded to.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.