Your question
I have a scenorio where I have to upload some big files - 150MB and 250 MB.
I am following this doc - https://playwright.dev/python/docs/input/#upload-files
For smaller file, I found it working but for bigger files it fails.
I tried to use both set_input_files and expect_file_chooser but got the similar issue.
Using set DEBUG=pw:browser I got the buffer error.
pw:browser [pid=7016][err] [7016:11564:0920/113948.785:ERROR:http_connection.cc(37)] Too large read data is pending: capacity=104857600, max_buffer_size=104857600, read=104857600 +11s
pw:browser [pid=7016][err] [7016:11564:0920/113948.785:ERROR:devtools_pipe_handler.cc(282)] Connection closed, not enough capacity +4ms
Do I need to set some flag for bigger files ? Or is there any workaround to get it working ?
Playwright Version - 1.14.1
OS - Windows 10 (64 bit)
Browser - Chrome
Python- 3.8.4
Your question
I have a scenorio where I have to upload some big files - 150MB and 250 MB.
I am following this doc - https://playwright.dev/python/docs/input/#upload-files
For smaller file, I found it working but for bigger files it fails.
I tried to use both
set_input_filesandexpect_file_chooserbut got the similar issue.Using
set DEBUG=pw:browserI got the buffer error.Do I need to set some flag for bigger files ? Or is there any workaround to get it working ?
Playwright Version - 1.14.1
OS - Windows 10 (64 bit)
Browser - Chrome
Python- 3.8.4