有什么办法可以用 Puppeteer 回答“共享您的屏幕”弹出窗口吗?我只需选择“屏幕 1”并单击“共享”按钮。
我尝试过使用page.keyboard.press('Tab')andpage.keyboard.press('Enter')但它不能对弹出窗口起作用。我也尝试过page.on('popup', function)但page.on('dialog', function)没有运气。
任何帮助是极大的赞赏。
I have a text file that is over 50GB. It contains many lines, each line is on average around 15 characters. I want each line to be unique (case sensitive). So if a line is exactly the same as another one, it must be removed, without changing the order of the other lines or sorting the file in any way.
My question is different from others because I have a huge file that cannot be handled with other solutions that …