Skip to content

[BUG] Unable to upload big file on firefox. #4704

@niyarlatotep

Description

@niyarlatotep

Context:

  • Playwright Version: 1.6.2
  • Operating System: Win 10
  • Node.js version: 14
  • Browser: Firefox

Code Snippet

const {firefox} = require('playwright');
const path = require('path');

(async function() {
    const browser = await firefox.launch({headless: false});
    try {
        const page = await browser.newPage();
        await page.goto('https://pdf.io/compress/');
        await page.setInputFiles('#upload_button input', path.join(process.cwd(), 'big.pdf'));
    } finally {
        await browser.close();
    }
})();

Describe the bug

When I try to upload big pdf, for example this one: http://research.nhm.org/pdfs/29985/29985-001.pdf I get an error in example unable to upload file. At the same time chrome uploads file well, also small files are uploaded well on firefox but big ones don't.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions