async function enterFolder (client, type, folderName) {
  await client.rightClick(`.session-current .file-list.${type} .sftp-item[title="${folderName}"]`, 10, 10)
  await delay(800)
  await client.click('.ant-dropdown:not(.ant-dropdown-hidden) .ant-dropdown-menu-item:has-text("Enter")')
  await delay(3500) // Increased delay for folder navigation
}
Enters a folder in the file list

@param {Object} client - The Playwright client
@param {string} type - The type of file list ('local' or 'remote')
@param {string} folderName - The name of the folder to enter