New issue
Advanced search Search tips

Issue 888830 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Headless mode fails if given --user-agent

Reported by jidanni@gmail.com, Sep 25

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36

Steps to reproduce the problem:
$ chromium --user-agent XXX --headless --dump-dom http://example.com; echo $?
1

What is the expected behavior?
The same as when one doesn't use --user-agent

What went wrong?
Adding --user-agent causes the whole command to fail with no output.

Did this work before? Yes 

Does this work in other browsers? N/A

Chrome version: 69.0.3497.92  Channel: n/a
OS Version: 
Flash Version: 

In https://intoli.com/blog/not-possible-to-block-chrome-headless/
we observe it used to work.
 
Labels: Needs-Triage-M69
Components: Internals>Headless
Labels: Proj-Headless Triaged-ET
jidanni@ Thanks for the issue.

As the issue seems to be related to Headless chrome, adding appropriate label and requesting the respective team to look into this and help in further triaging.

Thanks..
Cc: vamshi.kommuri@chromium.org
Labels: TE-NeedsTriageHelp
From comment#0 & #2 this seems to be an Headless related, hence adding label "TE-NeedsTriageHelp" and requesting someone from respective team to have a look into this and help in further triaging it.

Thanks!

Sign in to add a comment