You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a website that I am attempting to monitor for stock, however having some issues figuring out how to monitor it, the text on the page stays the same, however the button is changed from being disabled, to being enabled (This is all that changes on the page) - Is there any easy way of alerting if this changes? (I don't seem to be able to monitor the raw HTML
Out of Stock <button class="add-to-cart btn btn-block btn-container" data-toggle="modal" data-target="#chooseBonusProductModal" data-pid="XXXXXX" data-test-id="add-to-cart-button" disabled=""> <i class="fa fa-shopping-bag"></i> <span class="add-to-cart-text">Add to Cart</span> </button>
In Stock <button class="add-to-cart btn btn-block btn-container" data-toggle="modal" data-target="#chooseBonusProductModal" data-pid="XXXXX" data-test-id="add-to-cart-button"> <i class="fa fa-shopping-bag"></i> <span class="add-to-cart-text">Add to Cart</span> </button>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a website that I am attempting to monitor for stock, however having some issues figuring out how to monitor it, the text on the page stays the same, however the button is changed from being disabled, to being enabled (This is all that changes on the page) - Is there any easy way of alerting if this changes? (I don't seem to be able to monitor the raw HTML
Out of Stock
<button class="add-to-cart btn btn-block btn-container" data-toggle="modal" data-target="#chooseBonusProductModal" data-pid="XXXXXX" data-test-id="add-to-cart-button" disabled=""> <i class="fa fa-shopping-bag"></i> <span class="add-to-cart-text">Add to Cart</span> </button>
In Stock
<button class="add-to-cart btn btn-block btn-container" data-toggle="modal" data-target="#chooseBonusProductModal" data-pid="XXXXX" data-test-id="add-to-cart-button"> <i class="fa fa-shopping-bag"></i> <span class="add-to-cart-text">Add to Cart</span> </button>
Beta Was this translation helpful? Give feedback.
All reactions