Skip to content

Instantly share code, notes, and snippets.

@daroczig
Created August 7, 2025 22:53
Show Gist options
  • Save daroczig/b3b32e50cbf85f4b91fe7b9116dea578 to your computer and use it in GitHub Desktop.
Save daroczig/b3b32e50cbf85f4b91fe7b9116dea578 to your computer and use it in GitHub Desktop.
sparecores.com click loop
{
"Name": "sparecores.com click loop",
"CreationDate": "2025-8-8",
"Commands": [
{
"Command": "open",
"Target": "https://sparecores.com/",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "5000",
"Value": "",
"Description": ""
},
{
"Command": "comment",
"Target": "click // id=cpuCount",
"Value": "",
"Description": ""
},
{
"Command": "sendKeys",
"Target": "id=cpuCount",
"Value": "4",
"Targets": [
"id=cpuCount",
"xpath=//*[@id=\"cpuCount\"]",
"xpath=//input[@id='cpuCount']",
"xpath=//input[2]",
"css=#cpuCount"
],
"Description": ""
},
{
"Command": "pause",
"Target": "500",
"Value": "",
"Description": ""
},
{
"Command": "comment",
"Target": "click // id=ramCount",
"Value": "",
"Description": ""
},
{
"Command": "sendKeys",
"Target": "id=ramCount",
"Value": "8",
"Targets": [
"id=ramCount",
"xpath=//*[@id=\"ramCount\"]",
"xpath=//input[@id='ramCount']",
"xpath=//input[3]",
"css=#ramCount"
],
"Description": ""
},
{
"Command": "pause",
"Target": "500",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "id=spin_button",
"Value": "",
"Targets": [
"id=spin_button",
"xpath=//*[@id=\"spin_button\"]",
"xpath=//button[@id='spin_button']",
"xpath=//div[7]/button",
"css=#spin_button"
],
"Description": ""
},
{
"Command": "executeScript",
"Target": "window.scrollTo(document.body.scrollHeight, 0)",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "4000",
"Value": "",
"Description": ""
},
{
"Command": "executeScript",
"Target": "document.getElementById('why').scrollIntoView({ behavior: 'smooth' })",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "5000",
"Value": "",
"Description": ""
},
{
"Command": "executeScript",
"Target": "document.getElementById('resource-tracker').scrollIntoView({ behavior: 'smooth' })",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "5000",
"Value": "",
"Description": ""
},
{
"Command": "executeScript",
"Target": "document.getElementById('sentinel').scrollIntoView({ behavior: 'smooth' })",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "5000",
"Value": "",
"Description": ""
},
{
"Command": "executeScript",
"Target": "document.getElementById('get-started').scrollIntoView({ behavior: 'smooth' })",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "5000",
"Value": "",
"Description": ""
},
{
"Command": "executeScript",
"Target": "document.getElementById('services').scrollIntoView({ behavior: 'smooth' })",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "5000",
"Value": "",
"Description": ""
}
]
}
@daroczig
Copy link
Author

daroczig commented Aug 7, 2025

Use e.g. https://chromewebstore.google.com/detail/uivision/gcbalfbdmfieckjlnblleoemohcganoc to play on loop if there's no scripting solution available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment