New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 731195 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit 29 days ago
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Browser automation w/ headless option renders empty dom on debug port 9222 - osx/rails/capybara/selenium/chromedriver2.9/chrome59

Reported by srior...@doximity.com, Jun 8 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36

Steps to reproduce the problem:
1. Fire up a Rails app, e.g. `rails new testapp`
2. `bundle exec rspec spec/features/signin`
3. 

What is the expected behavior?
while chrome is running in headless mode during test execution, navigating to http://localhost:9222 in another chrome instance displays the html of the signin page.

What went wrong?
while chrome is running in headless mode during test execution, navigating to http://localhost:9222 in another chrome instance displays the (essentially empty) html of:

<html>
  <head></head>
  <body><pre style="word-wrap: break-word; white-space: pre-wrap;">
  </pre></body>
</html>

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 59.0.3071.86  Channel: stable
OS Version: OS X 10.12.5
Flash Version: Shockwave Flash 26.0 r0

The steps to reproduce are performed with Rails 5, latest Capybara gem, chromedriver 2.9, chrome 59.0.3071.86 beta (64-bit)

Evidence that others experience the same issue here:
https://news.ycombinator.com/item?id=14101233#14103088
 
test_case.txt
936 bytes View Download

Comment 1 by tkent@chromium.org, Jun 9 2017

Components: -Blink>DOM Tests>WebDriver Internals>Headless
Labels: TE-NeedsTriageHelp
This issue specific to browser automation tool Selenium, Hence adding TE-NeedsTriageHelp for further assistance. 

Comment 3 by tapted@chromium.org, Jun 16 2017

Owner: dvallet@chromium.org
Status: Assigned (was: Unconfirmed)
[mac triage] directing to someone working on headless stuff for further triage

Sign in to add a comment