Javascript – How to send input file in playwright where input has attribute hidden
I am unable to upload a file using Playwright as it can't find a locator for input type I'm trying to upload a file as below : await page.locator('//div/input[@class=xyz]').setInputFiles('Upload_files/CSV Test file.csv'); but the browser is unable to find this locator…