mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-13 02:30:09 -06:00
* feat: add modify obstructive user agent code for electron to strip electron and cypress out of the UA string. * fix user agent destructuring error within unit tests * remove explicit CDP command and opt for _setUserAgent. add test to not override passed in user agent via config * add get user agent method to electron and update tests * move user agent override in electron under experimentalModifyObstructiveThirdPartyCode over experimentalSessionAndOrigin * move position of setting user agent to browser launch, hopefully fixing issues in CI with parallelization between parent/child processes * update stale documentation and remove no longer necessary stub of getUserAgent * add user agent to get user agent debug log Co-authored-by: Matt Schile <mschile@gmail.com>