DOM Doctor Pro is a powerful Chrome extension built for developers, QA testers, and automation specialists who need accurate XPath and CSS selector generation for any element on a web page. It helps speed up script creation and debugging by creating unique, robust selectors based on element attributes, relations, and frame context.
The extension also supports interaction recording to capture user actions on pages for automation workflows.
Open the Side Panel: Click the extension icon and open the side panel in your Chrome browser.
Start Capture Mode: Click 'Start Capture' to enable selecting elements on the active page.
Element Selection: Click any element to view generated XPath and CSS selectors in the side panel.
Relation XPaths: Click two elements in quick succession to get relationship-based XPaths explaining their DOM connection.
Interaction Recording: Use the recording controls to start and stop capturing user interactions. This is useful for building automation scripts.
Export Data: Export selectors and recorded interactions in JSON or CSV formats for use in test automation or scraping tools.
Use the generated selectors to build more reliable automation scripts with tools like Selenium or Puppeteer.
Check the frame hierarchy if your targeted element is inside iframes to ensure correct element access.
Leverage the relation XPaths for complex structures where element proximity matters.
Record interactions progressively to mimic real user flows for testing.
DOM Doctor Pro is committed to protecting your privacy.
We do not collect, transmit, or store any personal or identifiable user data. All data processed by the extension remains local to your browser and is never sent to external servers or shared with third parties.
The extension requires permission to read the webpage DOM content to generate XPath and CSS selectors, but all processing is done locally and securely within your browser.
activeTab: Allows us to inspect the current webpage content for selector generation and interaction recording.
downloads: Enables exporting your generated selectors and recordings as files directly to your device.
host permissions (<all_urls>): Required to access DOM elements on any webpage you visit to create accurate selectors.
scripting: To inject scripts needed for capturing element data in the active tab.
sidePanel: To open and manage the extension's interactive side panel in your browser.
storage: For safely storing your preferences and recorded data locally within the browser.
We do not use or collect cookies, tracking data, or any analytics services within this extension.
You have full control over when to activate capture or recording modes, and you can clear all recorded data at any time. Your data never leaves your browser. We do not sell or share any user data.
If you have any questions or concerns about privacy, please contact us at sksohail.bablu@gmail.com.
This policy may be updated from time to time. Please review this page periodically for the latest information.
Please note that the interaction recording feature is still a work in progress. It has been added primarily for demo purposes and might not be fully stable or complete. Use this feature with caution and consider it experimental.