Version
1.60.0
Steps to reproduce
- Run playwright codegen.
- Open page which includes element.
- Click and select file(s).
Expected behavior
The argument to setInputFiles() generated by codegen includes the full path of the file.
Actual behavior
The argument to setInputFiles() generated by codegen contains only filenames without path information.
Additional context
No response
Environment
System:
OS: Windows 11 10.0.26100
CPU: (16) x64 Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
Memory: 17.80 GB / 31.78 GB
Binaries:
Node: 22.20.0 - C:\Program Files\nodejs\node.EXE
npm: 11.7.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
VSCode: 1.120.0 - C:\Users\10383037\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
npmPackages:
@playwright/test: ^1.60.0 => 1.60.0
Version
1.60.0
Steps to reproduce
Expected behavior
The argument to setInputFiles() generated by codegen includes the full path of the file.
Actual behavior
The argument to setInputFiles() generated by codegen contains only filenames without path information.
Additional context
No response
Environment
System: OS: Windows 11 10.0.26100 CPU: (16) x64 Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz Memory: 17.80 GB / 31.78 GB Binaries: Node: 22.20.0 - C:\Program Files\nodejs\node.EXE npm: 11.7.0 - C:\Program Files\nodejs\npm.CMD IDEs: VSCode: 1.120.0 - C:\Users\10383037\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD npmPackages: @playwright/test: ^1.60.0 => 1.60.0