Closed stucka closed 9 years ago
It should be already doing it: https://github.com/abiyani/automate-save-page-as/blob/master/save_page_as#L221. Does it not work for you ?
It wasn't working with Firefox on Xubuntu 14.04. I don't know what might be the problem, if it's the window manager or the browser. I can install a Chromeish browser and try if you'd like.
Sent from phone, (478) 213-4742 On Jun 17, 2015 9:12 PM, "Anurag Biyani" notifications@github.com wrote:
It should be already doing it: https://github.com/abiyani/automate-save-page-as/blob/master/save_page_as#L221. Does it not work for you ?
— Reply to this email directly or view it on GitHub https://github.com/abiyani/automate-save-page-as/issues/5#issuecomment-112999841 .
You don't need to switch your browser. Your desktop environment may have a different key-sequence for closing the tab.
As you can see from the code, the script tries to close the tab by "pressing" Ctrl+F4 (Ctrl+w if the environment is kde
). So just Change that value to your environment specific key sequence.
Might be helpful when used in scripting scrapes. I suspect Firefox will not hold the 250 pages I'm trying to scrape. =)