Getting Google Place ID

Hi there,
I'm using the Google Place ID Finder web page to get the place id.

I've search for a place, and then select the one I want. It opens a pop up in the map with the place id. This is the element:
<span id="place-id">ChIJLU7jZClu5kcR4PcOOO6p3I0</span>
I then use this with Execute Javascript in Front Browser. I've tested with Firefox, Brave and Chrome.
document.getElementById('place-id').textContent;
In the others I can't see any data being extracted. Only in Brave I see this in the console:
TypeError: Cannot read properties of null (reading 'textContent')
I've tried also with innerText. With no luck either.
Any suggestions? Thanks!