I am testing the file upload functionality in our application.
The following are the steps
- Click on upload button
- Select the file in the upload wizard
- Click on Open button
- It displayed the selected image in the photo frame.
Note: There is no field to display the file path after selecting the file. After selecting the file, it will display the selected photo in the frame directly.
If we tried the execute the script in normal browser it is working fine.
But if we try to execute the script in headless browser it is failing to upload the photo.
Can you please anyone help me to fix this issue?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…