Is the Firefox Web Console accessible in headless mode?
The title says it all: I am wondering whether it is possible to interact with the Firefox console upon starting Firefox in headless mode.
More generally, I'd settle for some way of accessing it programmatically, in scripts.
What I've tried:
So far I've been playing with the Javascript bindings to Selenium without success:
Starting Firefox with the -devtools option from Selenium does opn the dev tools, but I then cannot send key combinations that will switch me to the actual console, or in fact interact from my `.js` script with the open devtools window in any way.
grobber کی جانب سے
منتخب شدہ حل
It is, as discussed on Stack Overflow:
https://stackoverflow.com/a/63708393/11064961
اس جواب کو سیاق و سباق میں پڑھیں 👍 0تمام جوابات (1)
منتخب شدہ حل
It is, as discussed on Stack Overflow: