Premium/Elite

Monitor webpages,
with XPath.

Track a specific HTML element on a webpage and receive a Telegram notification when its value changes.

Precise monitoring

Useful when the change is inside a known page element and you want to monitor its text directly.

Premium/Elite

Create an XPath monitor

This tutorial shows how to monitor a webpage for changes using an XPath expression.

Step 01

Add a new XPath monitor

  1. Click the Add new XPath monitoring link.
  2. Type a name. This name is used by the bot in its messages.
  3. Enter the URL of the page to monitor.
  4. Paste the XPath expression that identifies the element to watch.

In this example, the monitored page is the Storebot website, to be warned when new reviews are made.

Add new XPath monitoring link
Add a new XPath monitor.
XPath monitoring form with name, URL and XPath expression
Enter the monitor name, page URL and XPath expression.
Step 02

Find the XPath expression

The easiest way is to use Google Chrome.

  1. Open the webpage in Chrome.
  2. Right-click the element you want to monitor.
  3. Select Inspect.
  4. In the developer tools, right-click the highlighted blue line.
  5. Select Copy, then Copy XPath.
Inspect an element in Google Chrome
Inspect the element to monitor.
Copy XPath from Chrome developer tools
Copy the XPath from Chrome developer tools.
Step 03

Paste, save and check

Paste the XPath expression in the monitoring form and save the monitor.

Use the check link to verify that the XPath expression retrieves the correct value before relying on the monitor.

Saved XPath monitoring configuration
Save the XPath monitor, then use check to confirm the detected value.
Result

Receive a Telegram notification

When the bot detects a change in the HTML element retrieved by the XPath expression, it sends you a notification.

Telegram notification for an XPath monitor change
Notification sent when the monitored XPath value changes.

Need help?

If you have any trouble configuring XPath monitoring, contact @jcmag on Telegram.

Contact support