-
Use "WINDOWS + R" to open execute prompt
-
Run "cmd" command to open a new terminal
-
Open a terminal
-
Change to folder
cd C:\Folder
You need firefox to use this script.
Download SuperVoter and unzip.
Download from Node.js and install.
-
Open a new terminal
-
Change to folder that contains the SuperVoter repository
cd C:\SuperVoter
- Execute npm install routine:
npm install
Open terminal (or use the previous one) and execute:
npm install -g protractor
webdriver-manager update
-
Open config.js (located in the SuperVoter repository) with a text editor
-
Set url parameter (line 22)
From ...
params: {
url: '',
autoSubmit: false
}
... to:
params: {
url: 'http://www.url.com',
autoSubmit: false
}
The auto submit option is deactivated by default. To activate this option, you have to set the autoSubmit parameter to "true".
-
Open config.js (located in the SuperVoter repository) with a text editor
-
Set autoSubmit parameter (line 23)
auto submit deactivated (default):
params: {
url: '...',
autoSubmit: false
}
auto submit activated:
params: {
url: '...',
autoSubmit: true
}
You'll need two terminals, you can create them as described in the notices.
- Run webdriver manager
webdriver-manager start
- Change to folder that contains the SuperVoter repository
cd C:\SuperVoter
- Run script
protractor config.js
To be reminded if you can run the script again add the reminder:
protractor config.js & node reminder.js
-
Wait for captcha code popup
-
Insert captcha code to text input field immediately
-
[autoSubmit==false] Wait until "attributes set" / "submit form now" is written in the terminal console and submit the form manually
-
[autoSubmit==true] Do nothing and relax ;-)
Notices:
- You can repeat step 2 to 6 every ~5-8 minutes
- You can use the arrow up/down keys to get the last called command (so you don't have to type the call of the script every time)