Skip to content

Commit

Permalink
fix(amazon): price and cart buttons
Browse files Browse the repository at this point in the history
Resolves #1125

Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
  • Loading branch information
jef committed Dec 3, 2020
1 parent e836acf commit 6fd023e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/store/model/amazon.ts
Expand Up @@ -7,12 +7,18 @@ export const Amazon: Store = {
container: 'body',
text: ['enter the characters you see below']
},
inStock: {
container: '#desktop_buybox',
text: ['add to cart']
},
inStock: [
{
container: '#add-to-cart-button',
text: ['add to cart']
},
{
container: '#buy-now-button',
text: ['buy now']
}
],
maxPrice: {
container: 'span[class*="PriceString"]'
container: '#price_inside_buybox'
}
},
links: [
Expand Down

0 comments on commit 6fd023e

Please sign in to comment.