Recent

Author Topic: Scan attributes of clicked DOM elements  (Read 555 times)

bbd666

  • New Member
  • *
  • Posts: 42
Scan attributes of clicked DOM elements
« on: April 03, 2025, 04:33:08 pm »
Hi all
Is there a CEF4 demo which gets the attributes of elements on a webpage when they are clicked. I mean tag, classname or Id ?

salvadordf

  • Jr. Member
  • **
  • Posts: 75
    • BriskBard
Re: Scan attributes of clicked DOM elements
« Reply #1 on: April 03, 2025, 04:51:08 pm »
Hi,

See the DOMVisitor demo. It's not exactly what you describe but it shows similar things.

PS : I check this forum from time to time only and I don't read all the messages. If you have more questions related to CEF4Delphi or WebView4Delphi consider using the developers forum for those projects.
Maintainer of the CEF4Delphi, WebView4Delphi, WebUI4Delphi and WebUI4CSharp projects

bbd666

  • New Member
  • *
  • Posts: 42
Re: Scan attributes of clicked DOM elements
« Reply #2 on: April 04, 2025, 07:32:16 am »
ok Many thks for your support.
Next time, I'll post my msgs in the other forum
I've already had a look at the DOMVisitor demo, but it just captures the full DOM.
My pb is to get the attr. of a special item of a popup menu that I can't find in the captured file.

 

TinyPortal © 2005-2018