Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>xpath-doctorNew to Visual Studio Code? Get it now.
xpath-doctor

xpath-doctor

Duda Duarte07

|
2 installs
| (0) | Free
Analyze XPath expressions and detect fragile selectors.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

XPath Doctor

Analyze XPath expressions directly inside VSCode.

XPath Doctor helps developers identify fragile XPath selectors, understand what they do, and improve scraping reliability.

Features

  • XPath classification:

    • GOOD
    • REGULAR
    • FRAGILE
  • Explains what the XPath does

  • Detects fragile selectors

  • Suggests improvements

  • Integrated directly into VSCode

Example

XPath

/html/body/div[2]/main/div[3]/span/text()

Result

  • Classification: FRAGILE
  • Detects absolute path usage
  • Detects fixed indexes
  • Suggests more resilient selectors

How to Use

  1. Select an XPath
  2. Right click
  3. Click:
XPath Doctor: Analyze Selected XPath

Supported Features

  • Absolute path detection
  • Fixed index detection
  • Generic selector detection
  • Class/id analysis
  • XPath explanation engine

Future Improvements

  • Analyze all XPaths in file
  • AI-powered XPath suggestions
  • Scrapy integration
  • CodeLens support
  • HTML preview mode

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft