microsoft / vscode-edge-devtools

A VSCode extension that allows you to use browser devtools from within the editor. The devtools will connect to an instance of Microsoft Edge giving you the ability to alter CSS styling, perform diagnostics, and debugging. Get it now at http://aka.ms/devtools-for-code
https://docs.microsoft.com/microsoft-edge/visual-studio-code/microsoft-edge-devtools-extension
MIT License
743 stars 249 forks source link

Request Feature : Open file for upload #2056

Open pandhup opened 4 months ago

pandhup commented 4 months ago

Is your feature request related to a problem? Please describe.

I cant test my upload button for attach file and send the form request

Describe the solution you'd like:

just like the normal browser we can open file when click the button or input tag

Describe alternatives you've considered:

Additional context:

AB#49339632

captainbrosset commented 4 months ago

Thanks for reaching out. This is most likely due to the fact that the embedded browser in VSCode isn't a real browser window. It's a screencast streamed from a headless browser instance running in the background. So, there are some things that will not work like you'd expect them to work in a normal browser window.

I'll mark this as tracked so the team can spend time thinking about this, but in the meantime, I advise using an external browser window instead: https://learn.microsoft.com/en-us/microsoft-edge/visual-studio-code/microsoft-edge-devtools-extension/external-browser-window Everything else should work the same, it's just that the browser rendering won't appear inside VSCode, but in a separate window.