fix(amazon): price and cart buttons

Resolves #1125

Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
Jef LeCompte
2020-12-03 11:55:07 -05:00
parent e836acf1e9
commit 6fd023e81e
+11 -5
View File
@@ -7,12 +7,18 @@ export const Amazon: Store = {
container: 'body', container: 'body',
text: ['enter the characters you see below'] text: ['enter the characters you see below']
}, },
inStock: { inStock: [
container: '#desktop_buybox', {
text: ['add to cart'] container: '#add-to-cart-button',
}, text: ['add to cart']
},
{
container: '#buy-now-button',
text: ['buy now']
}
],
maxPrice: { maxPrice: {
container: 'span[class*="PriceString"]' container: '#price_inside_buybox'
} }
}, },
links: [ links: [