async function accessFolderFromTerminal (client, type, folderName) {
  await client.rightClick(`.file-list.${type} .sftp-item[title="${folderName}"]`, 10, 10)
  await delay(500)
  await client.click('.ant-dropdown:not(.ant-dropdown-hidden) .ant-dropdown-menu-item:has-text("Access this folder from the terminal")')
  await delay(1000)
}
Accesses folder from the terminal through context menu

@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 access