Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Element manual update (Element Editor)

Izat Emir edited this page Oct 25, 2023 · 2 revisions
  1. Open "Element Editor" window.

image

  1. Determine the specific element on the Shopee website to be updated. For example 'Buy Now' button.

  2. 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.

image

  1. 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.

image

  1. Return to Element Editor window. Paste the Xpath that you copied in Step 4 using the keyboard shortcut (Ctrl+V or Command+V).

image

You can use either of these formats :

//button[contains(@class, 'btn btn-solid-primary btn--l') and contains(text(), 'buy now')]

//*[@id="main"]/div/div[2]/div[1]/div[1]/div/div[2]/section[1]/section[2]/div/div[5]/div/div/button[2]

Clone this wiki locally