Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.84 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.84 KB

Selenium: Delete all messages in #general

deleteslack

Problem

May I delete entirely purge messages in #general channel?

  • The answer is NO. ಠ_ಠ

Below is the response from slack support team: (2014/12/19):

You can bulk delete messages in batches of up 100 at a time from the archives page for a channel or group: https://my.slack.com/archives — the first time you use delete you'll be able to select up to 10 messages, but on subsequent attempts you'll be able to select up to 100.

Solution

Prerequisite

Start

  • Open https://my.slack.com/archives/general via Firefox
  • Open Selenium IDE
    • Setup Selenium Core Extenstion in options->general choose sideflow.js and restart Selenium IDE.
    • Open Test(script) ctrl-o select deleteslacklog.html you have downloaded.
  • Click the play button and take a coffee ☕

🎉~ Now you have a whole new #general channel!

License

MIT: http://yulun.mit-license.org