New issue
Advanced search Search tips

Issue 874375 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 705916



Sign in to add a comment

Chrome headless under linux can't open more than 1 extra tab

Reported by xadras....@gmail.com, Aug 15

Issue description

Chrome Version       : 68.0.3440.84
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: n/a
    Firefox: n/a
       Edge: n/a

What steps will reproduce the problem?
(1) Running protractor tests with chrome 68 in headless mode and chrome driver 2.41 or 2.40
(2) The test should open a page than click on a link which will open in a new tab
(3) clicking on another link which would open another tab will trigger an unknown error as follows:

WebDriverError: unknown error: cannot activate web view
        (Session info: headless chrome=68.0.3440.84)
        (Driver info: chromedriver=2.41.578700 (2f1ed5f9343c13f73144538f15c00b370eda6706),platform=Linux 4.4.0-131-generic x86_64)
        (Session info: headless chrome=68.0.3440.84)
        (Driver info: chromedriver=2.41.578700 (2f1ed5f9343c13f73144538f15c00b370eda6706),platform=Linux 4.4.0-131-generic x86_64)
          at Object.checkLegacyResponse (/work/node_modules/selenium-webdriver/lib/error.js:546:15)
          at parseHttpResponse (/work/node_modules/selenium-webdriver/lib/http.js:509:13)
          at doSend.then.response (/work/node_modules/selenium-webdriver/lib/http.js:441:30)
          at <anonymous>
          at process._tickCallback (internal/process/next_tick.js:188:7)

What is the expected result?
The driver shouldn't fail and should keep executing tests

What happens instead?
driver fails and it becomes unreachable in all the other specs:

WebDriverError: chrome not reachable
        (Session info: headless chrome=68.0.3440.84)
        (Driver info: chromedriver=2.41.578700 (2f1ed5f9343c13f73144538f15c00b370eda6706),platform=Linux 4.4.0-131-generic x86_64)
        (Session info: headless chrome=68.0.3440.84)
        (Driver info: chromedriver=2.41.578700 (2f1ed5f9343c13f73144538f15c00b370eda6706),platform=Linux 4.4.0-131-generic x86_64)
          at Object.checkLegacyResponse (/work/node_modules/selenium-webdriver/lib/error.js:546:15)
          at parseHttpResponse (/work/node_modules/selenium-webdriver/lib/http.js:509:13)
          at doSend.then.response (/work/node_modules/selenium-webdriver/lib/http.js:441:30)
          at <anonymous>
          at process._tickCallback (internal/process/next_tick.js:188:7)

Please provide any additional information below. Attach a screenshot if
possible.

 
Forgot to mention that running the same spec under macOS no error reported.
Components: -Blink Internals>Headless
Labels: Needs-Triage-M68

Sign in to add a comment