M
M
Mmx Symfony2020-11-25 10:50:16
JavaScript
Mmx Symfony, 2020-11-25 10:50:16

How to programmatically load a file into a field?

Need programmatically (Symfony 5.1 + Panther + Webdriver +

ChromeDriver ) in Google Chrome (87 version) download file in background)

<td class="formvalue">
    <span style="width: 450px">
       <input type="file" name="ctl00$uxMainContent$uxProductsImportFileListControl$uxProductsImportFileInfo$uxImportFile" id="ctl00_uxMainContent_uxProductsImportFileListControl_uxProductsImportFileInfo_uxImportFile" style="width:450px;">
       <span id="ctl00_uxMainContent_uxProductsImportFileListControl_uxProductsImportFileInfo_uxImportFileRequiredValidator" title="Needed" style="color:Red;display:none;"><span class="formerrorbox nowrap"><span class="iconformerror">Needed</span></span></span>
       </span>
 </td>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nadim Zakirov, 2020-11-25
@PentiumMmx

How to programmatically insert files into input?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question