通常、ブラウザの要素インスペクタでJavaScriptを実行することはない。どちらかといえば、コンソールを使うでしょう。

実装の詳細はウェブサイトによって異なりますが、出発点として以下を使うことができます：

```js
//create an array that will hold the information we want
const information = [];

// get the base-elements you're interested in
const $el = $(".interesting-item");

//drill-down in each element and extract the required information
$el.forEach(e => {
  //gather information from the element and put it in an object
  const info = {};
  info["property-1"] = $(e).find(".property-1").val()
  info["property-2"] = $(e).find(".property-2").val()

  //add the gathered information to the array of all info
  information.push(info);
});
```

要素インスペクタを使って、正しいCSSセレクタを取得することができます。
You don't generally execute JavaScript in the browser element inspector. You'd use the console for that, if anything. 

The implementation details vary per website but you could use the following as a starting point:

```js
//create an array that will hold the information we want
const information = [];

// get the base-elements you're interested in
const $el = $(".interesting-item");

//drill-down in each element and extract the required information
$el.forEach(e => {
  //gather information from the element and put it in an object
  const info = {};
  info["property-1"] = $(e).find(".property-1").val()
  info["property-2"] = $(e).find(".property-2").val()

  //add the gathered information to the array of all info
  information.push(info);
});
```

You can use the element inspector to get the correct CSS-selectors.