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
{{ message }}
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.
Izat Emir edited this page Oct 25, 2023
·
2 revisions
Open "Element Editor" window.
Determine the specific element on the Shopee website to be updated. For example 'Buy Now' button.
On Chrome browser, right-click on the element you want to update. In the context menu, select "Inspect Element." This opens Chrome's DevTools panel.
The relevant HTML element for your selected element should be highlighted. Right-click on the highlighted element and in the context menu, choose "Copy" and then select "Copy XPath." This action will copy the Xpath of the element to your clipboard.
Return to Element Editor window. Paste the Xpath that you copied in Step 4 using the keyboard shortcut (Ctrl+V or Command+V).
You can use either of these formats :
//button[contains(@class, 'btn btn-solid-primary btn--l') and contains(text(), 'buy now')]