Proper ways to set up CSS selector in HTML node

Hi guys,

I have troublesome when trying to pick up an CSS selector.

Screenshot from 2024-06-12 08-08-01

I try to pick up data from the div.bn-flex table-body-N6Pn4, but I can only get the data from the div.div.bn-flex table-header-3Pkrl.

How to set up the CCS selector to pick up the data from div.bn-flex table-body-N6Pn4? It seems the space is the problem that prevent me to get data from the div.bn-flex table-body-N6Pn4.

Any idea? Thanks

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @semighoti

if the class is pretty unique you could just address it directly without all the nesting, e.g.
.table-body-N6Pn4

2 Likes

hello @semighoti

The easiest way is from the dev console

2 Likes

Thank you for your response. It worked

Thank you for your response. I appreciate it very much

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.