Shopee Macros

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Lapidroid
Posts: 1
Joined: Fri Jun 10, 2022 5:04 am

Shopee Macros

Post by Lapidroid » Fri Jun 10, 2022 5:06 am

VERSION BUILD=2021
TRIAL VERSION
WINDOWS 11 (21H1)
CHROME Version 102.0.5005.63

Hi Everyone!

Nice to meet you all.

My macro working but not the way I expected it to be.

VERSION BUILD=2021
WAIT SECONDS=1
SET !ERRORIGNORE YES
URL
GOTO=https://shopee.ph/Aquaflask-%2822oz-40o ... 6762754180
TAG POS=1 TYPE=BUTTON ATTR=TXT:40oz<sp>Marshmallow
TAG POS=1 TYPE=BUTTON ATTR=CLASS:"btn btn-solid-primary btn--l GfiOwy"
TAG POS=1 TYPE=BUTTON ATTR=CLASS:"shopee-button-solid
shopee-button-solid--primary"
WAIT SECONDS=3
TAG POS=1 TYPE=BUTTON ATTR=CLASS:"stardust-button stardust-button--primary
stardust-button--large gG-FcK"

This script works fine when one of the disabled button in the product
selection became enabled. But my problem is, it buys whatever button
becomes enabled, not just the product that I want, which is the "40oz
Marshmallow"

What I want to achieve is to go the the webpage, if the button of "40oz
Marshmallow" is still disabled, refresh the website (loop the code from the
start). And when the button of that specific product becomes available,
proceed with the purchase.

Can you help me on this?
Post Reply