DEV Community

Discussion on: Copy a string representation of the specified object to the clipboard with Chrome DevTools

Collapse
 
the_riz profile image
Rich Winter

I see you just wrote this, but the above doesn't work -

  1. While .speakercolumn is defined in an appended <style>, it is otherwise not currently found in the document.

  2. I fear Chrome may have just killed off copy()

Collapse
 
lukaspolak profile image
Lukas Polak

Hello Rich, thanks for your comment! I really appreciate the feedback.
I have tried it on Chrome 80, Firefox Developer Edition 75 and Safari 13.1 and everything worked as expected. I can see the speakercolumn class in the DOM, so I wasn't successful with reproducing the problem, can you please try this snippet:

const speakers = document.querySelectorAll(
  ".fusion-row .title-heading-left"
);

and then log speakers
With this snippet you will get more NodeLists than speakers (76) can you please confirm it?

I fear Chrome may have just killed off copy()
I'm not sure if I understand you. I haven't found any information about that Chrome will kill some of the Console Utilities APIs. Can you please clarify it for me? Thanks a lo!