Skip to content

Instantly share code, notes, and snippets.

@dharmesh-hemaram
Last active March 21, 2023 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dharmesh-hemaram/5cea384144349219f71a326b7776e383 to your computer and use it in GitHub Desktop.
Save dharmesh-hemaram/5cea384144349219f71a326b7776e383 to your computer and use it in GitHub Desktop.
Amazon Buy Now

Amazon Buy Now

This script is used to click on Amazon Buy Now Button without going all steps.

  • Download amazon-buy-now.json
  • Import into below extension
  • Refresh Page

Auto Clicker Auto Fill Extension


tags

#amazon #amazonbuynow #autoclickerextension #autoclicker #autofill

{
"name": "Amazon Buy Now",
"url": "https://www.amazon.co.uk/*",
"initWait": 0,
"startTime": "",
"enable": true,
"startType": "auto",
"loadType": "window",
"hotkey": "Ctrl + Shift + A",
"batch": {
"refresh": false,
"repeat": 0,
"repeatInterval": 0
},
"actions": [
{
"name": "",
"initWait": 0,
"elementFinder": "//*[@id=\"buy-now-button\"]",
"value": "ClickEvents::click",
"repeat": 0,
"repeatInterval": 0,
"addon": {
"elementFinder": "//*[@id=\"merchant-info\"]",
"value": "Dispatched from and sold by Amazon.",
"condition": "Equals",
"valueExtractor": "",
"recheck": 5,
"recheckInterval": 1,
"recheckOption": "skip"
},
"settings": {}
},
{
"name": "",
"initWait": 0,
"elementFinder": "//*[@id=\"turbo-checkout-pyo-button\"]",
"value": "ClickEvents::click",
"repeat": 0,
"repeatInterval": 0,
"addon": {
"elementFinder": "",
"value": "",
"condition": "",
"valueExtractor": "",
"recheck": 0,
"recheckInterval": 0,
"recheckOption": "stop"
},
"focus": true
},
{
"name": "",
"initWait": 0,
"elementFinder": "//*[@id=\"buybox-see-all-buying-choices\"]/span[1]/a[1]",
"value": "ClickEvents::click",
"repeat": 0,
"repeatInterval": 0,
"addon": {
"elementFinder": "",
"value": "",
"condition": "",
"valueExtractor": "",
"recheck": 0,
"recheckInterval": 0,
"recheckOption": "stop"
},
"focus": true
},
{
"name": "",
"initWait": 0,
"elementFinder": "//a[contains(@aria-label, 'Opens a new page')",
"value": "",
"repeat": 0,
"repeatInterval": 0,
"addon": {
"elementFinder": "//*[text()=\"Amazon\"]",
"value": "Amazon",
"condition": "Equals",
"valueExtractor": "",
"recheck": 5,
"recheckInterval": 1,
"recheckOption": "stop"
},
"focus": true
},
{
"name": "",
"initWait": 0,
"elementFinder": "//*[@id=\"a-autoid-2\"]/span/input",
"value": "ClickEvents::click",
"repeat": 0,
"repeatInterval": 0,
"addon": {
"elementFinder": "",
"value": "",
"condition": "",
"valueExtractor": "",
"recheck": 0,
"recheckInterval": 0,
"recheckOption": "stop"
},
"focus": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment