Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot see file download operation when testing with browser #26

Closed
a2t2 opened this issue Oct 19, 2022 · 1 comment
Closed

Cannot see file download operation when testing with browser #26

a2t2 opened this issue Oct 19, 2022 · 1 comment

Comments

@a2t2
Copy link

a2t2 commented Oct 19, 2022

I am testing the modules under the file_system category. The scenario I am trying to test is to see whether the medusa modules can log a PDF file download operation done by a browser. I tested a browser using the following modules:

medusa> use file_system/file_write 

Current Mods:
0) file_system/get_catch_directory
1) file_system/input_output
2) file_system/file_write

If I test with all file_system modules, the browser crashes on launch, so I picked the above three. After launching the browser (using run -f), I can see file writes logged by medusa, but cannot see any log for the PDF download operation. I suspect the browser may have forked a process to do the download. Any suggestions on how to use file_system modules if some operation may happen in a forked process ?

@Ch0pin
Copy link
Owner

Ch0pin commented Oct 20, 2022

The file_write would be enough I guess. Check if it drops the file with some temporary name or something.

@Ch0pin Ch0pin closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants