I’m primarily using the Firefox driver to run all of my scripts. There may be instances that members of my team will use the headless browser option and some not.
How can I determine in the script how its being ran? I’d like to catch if its in headless mode. Pseudo code example:
Do stuff and things