# Features of User Action Recording in Browsers

There are also separate blocks for launching browsers, and the type of browser can be selected from the options provided by the Designer using a dropdown list.

In the properties of the block, you can also specify the URL and parameters for opening the page (in the current or new tab). Here, the output properties also include the process ID.

If you first launched Chrome, for example, and then clicked with the mouse, and the variable name ProcessID matches the variable name ProcessID in the next block, then these two blocks will work with the same browser and the same tab.

<figure><img src="https://3199517203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4mXXYsqBuhj7RyX6Y4Yw%2Fuploads%2Fgit-blob-838ea09247ac7f5817dc51d08487dac11e7b5ba8%2Fimage%20(98).png?alt=media" alt=""><figcaption></figcaption></figure>

If you set up two blocks to launch Chrome, and one opened a page in one tab while the other opened it in another tab, you can differentiate by different process IDs. In one case, the variable will be called ProcessID1, and in the other – ProcessID2.

When clicking on an element within this page (it works with any blocks that have selectors), you can specify the correct variable in the process ID field, which will determine both the specific instance of the browser and the specific tab we are currently working with.

The "Mouse Click" block for different browsers has some interesting capabilities. One of them is that here the process ID is both an input property and an output property. More precisely, the output property is called "New Process ID." It often happens that when you click on a link within the page, the page is designed to open a new page not in the same tab, but in a new one. As a result, you have an old tab with the page you just left and a new tab with the page you navigated to. It can be useful to have the ability to work with both the new and the previous tab. Then, the variable specified in the output property "New Process ID" will contain the identifier of the tab you navigated to. This means, for example, that these two variables can be made different; we can prefix the input variable name with old, and the output with new.

In the following blocks, you can work with the new (just opened) tab, close it, and continue working with the old tab, or even switch between them, working in one block with one tab and in another block with the other. If this functionality is not required, then by default, leave the variable name ProcessID for both input and output. This means that if you opened a new tab by clicking on a link, the identifier of the new tab will be recorded in ProcessID, and you will continue working in this new tab.
