# Utilising Web Inspector

Web Inspector is a browser extension that allows users to capture locators for web elements efficiently, streamlining the automation of test cases in SimplifyQA. It helps identify elements on a webpage by providing XPath, CSS Selectors, ID, Name, and other attributes necessary for automation.

***

#### Downloading and Installing Web Inspector

To use Web Inspector, follow these steps to download and install the extension:

1. Open the browser store (Chrome Web Store, Edge Add-ons, etc.).
2. Search for "SimplifyQA IDE" and open the extension.

<figure><img src="/files/s3ezhlOsJXrBS1SeEwD0" alt=""><figcaption></figcaption></figure>

3. Click "Add to Chrome" and complete the installation process.

<figure><img src="/files/QHnURJKtKfsst13ktJMO" alt=""><figcaption></figcaption></figure>

***

#### Accessing the Web Inspector

1. After installation, click on the extensions button in your browser toolbar.
2. Select SimplifyQA Web Inspector from the list of installed extensions.

<figure><img src="/files/kplNtVzVOKgDFkgQputg" alt=""><figcaption></figcaption></figure>

3. You will be prompted to log in with your SimplifyQA credentials. Clicking the login button will redirect you to the SimplifyQA website for authentication.

<figure><img src="/files/CeO7rupZgCG2KaXTK2pK" alt=""><figcaption></figcaption></figure>

4. After logging in, reopen the Web Inspector extension. This will launch a separate window for capturing objects.

<figure><img src="/files/m4xGI4p8ArvzkDXgbqDO" alt=""><figcaption></figcaption></figure>

***

#### Capturing Objects Using Web Inspector&#xD;

**Step 1:** Select a Project\
Since objects are linked to a specific project, first select the project where you want to create and store these objects.

<figure><img src="/files/TAfHD4HZghZHko9tQiEt" alt=""><figcaption></figcaption></figure>

**Step 2:** Inspect and Capture Elements

1. Click on the Inspect button in Web Inspector.

<figure><img src="/files/EYoe6pydjoYMw9ESLqxA" alt=""><figcaption></figcaption></figure>

2. Navigate to the webpage where you want to capture elements.
3. A blue highlight will appear over web elements detected by the tool.
4. Click on any element (or multiple elements) to capture their locators.

<figure><img src="/files/IHuKyzssTASsUib2arUU" alt=""><figcaption></figcaption></figure>

5. Once you’ve selected the required elements, return to the Web Inspector window and click Inspect button again to view the captured objects.

<figure><img src="/files/J159qfjDMVJ5te5zahUP" alt=""><figcaption></figcaption></figure>

***

#### Viewing and Editing Captured Objects

1. Select a captured object from the list to view its attributes, including XPath, Class, Text, etc.

<figure><img src="/files/d2oSbc2LiOYSa66OvbZt" alt=""><figcaption></figcaption></figure>

2. If necessary, modify the locators by editing the values in the respective fields.
3. To rename an object:
   * Click the edit icon next to the object name.

<figure><img src="/files/8s64fbkjRTYEEzkS4she" alt=""><figcaption></figcaption></figure>

* Enter the desired name.
* Click the check icon to save the changes.

#### Creating a Flow XPath in Web Inspector

Flow XPath allows you to capture multiple elements across different web pages to create a dynamic and structured XPath for automation.\
Steps to Create a Flow XPath

1. Click on the "Create FlowXPath" icon.

<figure><img src="/files/oDo4OlCMdwshVzGE2Pgf" alt=""><figcaption></figcaption></figure>

2. Navigate to the desired web page.
3. Select the objects you want to include in the Flow XPath.
4. Click on the Inspect button again to stop capturing. <br>

#### Viewing the Flow XPath&#x20;

Once the inspection is stopped, a new field will appear in the Attributes section of the selected object. This field, labeled "XPathFlow," will contain the generated Flow XPath.

<figure><img src="/files/EJYXXwh9Lo0sA0kuTB6K" alt=""><figcaption></figcaption></figure>

This feature is especially useful for complex workflows, such as multi-step forms, dynamic tables, and modal interactions, where elements need to be identified dynamically based on the UI flow.

***

#### Saving Captured Objects

Once all modifications are made, click the Save button to store the captured objects in SimplifyQA’s Object Repository.

<figure><img src="/files/FUmO2QuJYbwROAAu7E3S" alt=""><figcaption></figcaption></figure>

***

#### Accessing Captured Objects in SimplifyQA&#xD;

To access and manage the saved objects:

1. Open SimplifyQA and navigate to the left-side panel.
2. Go to Test Management > Object Repository.

<figure><img src="/files/xX6WqFRJByXytG3PUSfJ" alt=""><figcaption></figcaption></figure>

2. The newly created objects will be available under the selected project, ready to be used in test case creation and automation.

<figure><img src="/files/BuQM5jK5mMw9Yb1Horz8" alt=""><figcaption></figcaption></figure>

The Web Inspector in SimplifyQA simplifies locator identification and object management, making test automation seamless. By capturing objects directly from the web and storing them in the Object Repository, teams can efficiently create and execute automated test cases with accurate locators.

Web Inspector is a browser extension that allows users to capture locators for web elements efficiently, streamlining the automation of test cases in SimplifyQA. It helps identify elements on a webpage by providing XPath, CSS Selectors, ID, Name, and other attributes necessary for automation.

### Download and Install Web Inspector

To use Web Inspector, follow these steps to download and install the extension:&#x20;

1. Open the browser store (Chrome Web Store, Edge Add-ons, etc.).&#x20;
2. Search for "SimplifyQA IDE" and open the extension.&#x20;

<figure><img src="/files/BGpMejOCmGcjxXWJDF7M" alt=""><figcaption></figcaption></figure>

3. Click "Add to Chrome" and complete the installation process.

<figure><img src="/files/gYEHnU4VnradCP9WM3Qy" alt=""><figcaption></figcaption></figure>

### Accessing the Web Inspector

1. After installation, click on the extensions button in your browser toolbar.&#x20;
2. Select SimplifyQA Web Inspector from the list of installed extensions.

<figure><img src="/files/mfU7W26bNNGjaGYoRPU1" alt=""><figcaption></figcaption></figure>

3. You will be prompted to log in with your SimplifyQA credentials. Clicking the login button will redirect you to the SimplifyQA website for authentication.

<figure><img src="/files/9AeIhm6ZB5aNRPJIuOm8" alt=""><figcaption></figcaption></figure>

4. After logging in, reopen the Web Inspector extension. This will launch a separate window for capturing objects.

<figure><img src="/files/Z5IFaxVx2U28yRxx3T5k" alt=""><figcaption></figcaption></figure>

### Capturing Objects using Web Inspector

**Step 1: Select a Project**&#x20;

Since objects are linked to a specific project, first select the project where you want to create and store these objects.&#x20;

<figure><img src="/files/vHTqLYw5OglSJ0nxRiNC" alt=""><figcaption></figcaption></figure>

**Step 2: Inspect and Capture Elements**&#x20;

1. Click on the Inspect button in Web Inspector.&#x20;

<figure><img src="/files/qnOVXT323lT7NiPvMUTc" alt=""><figcaption></figcaption></figure>

2. Navigate to the webpage where you want to capture elements.&#x20;
3. A blue highlight will appear over web elements detected by the tool.&#x20;
4. Click on any element (or multiple elements) to capture their locators.&#x20;

<figure><img src="/files/3T569EqILdOofwnLlPv3" alt=""><figcaption></figcaption></figure>

5. Once you’ve selected the required elements, return to the Web Inspector window and click Inspect button again to view the captured objects.

<figure><img src="/files/WOEB1Y29zGdzX2CbIXEk" alt=""><figcaption></figcaption></figure>

### Viewing and Editing Captured Objects

1. Select a captured object from the list to view its attributes, including XPath, Class, Text, etc.

<figure><img src="/files/7090w9l0cfUvN8tBn0fs" alt=""><figcaption></figcaption></figure>

2. If necessary, modify the locators by editing the values in the respective fields.&#x20;
3. To rename an object:&#x20;
   1. Click the edit icon next to the object name.&#x20;
   2. Enter the desired name.&#x20;
   3. Click the check icon to save the changes.&#x20;

<figure><img src="/files/rs7Kwm2acPH1Wi2AhhlW" alt=""><figcaption></figcaption></figure>

### Creating a Flow XPath in Web Inspector

Flow XPath allows you to capture multiple elements across different web pages to create a dynamic and structured XPath for automation.

#### Steps to Create a Flow Xpath

1. Click on the "Create FlowXPath" icon.

<figure><img src="/files/Pi6ohiRmpnoJ5DM9JLS1" alt=""><figcaption></figcaption></figure>

2. Navigate to the desired web page.&#x20;
3. Select the objects you want to include in the Flow XPath.&#x20;
4. Click on the Inspect button again to stop capturing.&#x20;

#### Viewing the Flow Xpath

Once the inspection is stopped, a new field will appear in the Attributes section of the selected object. This field, labeled "XPathFlow," will contain the generated Flow XPath.

<figure><img src="/files/lQGfe4b9C2DZMDgXpH9r" alt=""><figcaption></figcaption></figure>

This feature is especially useful for complex workflows, such as multi-step forms, dynamic tables, and modal interactions, where elements need to be identified dynamically based on the UI flow.

#### Saving Captured Objects

Once all modifications are made, click the Save button to store the captured objects in SimplifyQA’s Object Repository.

<figure><img src="/files/XDRKJUDNrYZfFXa9HU8x" alt=""><figcaption></figcaption></figure>

#### Accessing Captured Objects in SimplifyQA

To access and manage the saved objects:&#x20;

1. Open SimplifyQA and navigate to the left-side panel.&#x20;
2. Go to Test Management > Object Repository.&#x20;

<figure><img src="/files/lIKUofssZL6KWHabH9Io" alt=""><figcaption></figcaption></figure>

3. The newly created objects will be available under the selected project, ready to be used in test case creation and automation.

<figure><img src="/files/yOktgfalusXXHiLBxI1C" alt=""><figcaption></figcaption></figure>

The Web Inspector in SimplifyQA simplifies locator identification and object management, making test automation seamless. By capturing objects directly from the web and storing them in the Object Repository, teams can efficiently create and execute automated test cases with accurate locators.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.simplifyqa.ai/introduction-to-test-management-in-simplifyqa/utilising-web-inspector.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
