uploadFile in puppeteer-firefox
See original GitHub issueIs it possible to upload files with the puppeteer-firefox library? It’s not working for me, I’m adding code
const pptrFirefox = require('puppeteer-firefox');
(async () => {
const browser = await pptrFirefox.launch( {headless: false });
const page = await browser.newPage();
await page.goto('https://www.webejemplo.com', {timeout: 0});
await page.waitForSelector('input[type=file]', {timeout: 0 });
var fileUploaders = await page.$("input[type=file]");
await fileUploaders.uploadFile('foto_0.jpg');
await page.waitFor(3000);
})();
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Practical Puppeteer: How to upload a file programatically
Today I will share about how to upload file using Puppeteer. If you don't know about Puppeteer yet, here is the brief explanation....
Read more >Handle File Upload with Puppeteer - CherCher Tech
With puppeteer, we can upload the file using the fileChooser, by waiting for the element then clicking the element which opens the system-based...
Read more >How to perform FileUpload testing with Puppeteer - YouTube
In this video, we will discuss working with FileUpload in Puppeteer.In this video we will discuss Working with XPath in Puppeteer automation ...
Read more >Working with FileUpload in Playwright - Not the puppeteer way
In this video we will discuss how we can work with FileUpload of Playwright API and how different it is from Puppeteer.
Read more >How to achieve File Upload Using Puppeteer - YouTube
How to achieve File Upload Using Puppeteer | FileChooser MethodMy second Channel:WrestleTalkByAzhar ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am facing error
err Error: Protocol error (DOM.setFileInputFiles): DOM.setFileInputFiles RemoteAgentError@chrome://remote/content/Error.jsm:25:5
when uploadFile in firefox too. Is this feature available in puppeteer firefox?This is still an issue