Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown error: failed to wait for extension background page to load: #1

Open
fllprbt opened this issue Oct 16, 2017 · 9 comments
Open

Comments

@fllprbt
Copy link

fllprbt commented Oct 16, 2017

What are you trying to achieve? (Expected behavior)

I am using Selenium with the latest Chrome driver. I want to use a proxy with authorization and considering that this behavior is not supported I am following your guide: https://github.com/RobinDev/Selenium-Chrome-HTTP-Private-Proxy

What do you get instead? (Actual behavior)

Generally, it works. After hours of work at some point I am getting the following fatal error. Please note, that I am making many plugins for different proxies without any issue.

PHP Fatal error:  Uncaught Facebook\WebDriver\Exception\UnknownServerException: unknown error: failed to wait for extension background page to load: chrome-extension://nknfhemedcefohicgiceepeoabnocgpc/_generated_background_page.html
from timeout: Timed out receiving message from renderer: 10.000
  (Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.9.0-3-amd64 x86_64) (WARNING: The server did not provide any stacktrace information)

How could the issue be reproduced? (Steps to reproduce)

The code is pretty much the same with the "how to use it" from Selenium Chrome HTTP Private Proxy and I cannot think of any way to reproduce.

  • Php-webdriver version: 1.4
  • PHP version: 7.0
  • Selenium server version: 3.6.0 (Latest)
  • Operating system: Debian 9
  • Browser used + version: Chrome v.61

I am not sure if its related to your code, (probably not) but I 'd like to hear your input.

@sionking
Copy link

sionking commented Oct 8, 2018

I have this 2 ! when the connection to the proxy is slow:
ERROR [2018-10-08 21:34:58] [] Message: unknown error: failed to wait for extension background page to load: chrome-extension:
//phghgkeobbhmhkcalckndgcebdccffbf/_generated_background_page.html
timeoit

@s-belichenko
Copy link

And I'm too:

unknown error: failed to wait for extension background page to load: chrome-extension://bfjfnjfdlijhaidfmabgcdlcghnmcgkl/_generated_background_page.html
from unknown error: page could not be found: chrome-extension://bfjfnjfdlijhaidfmabgcdlcghnmcgkl/_generated_background_page.html
  (Driver info: chromedriver=2.43.600233 (523efee95e3d68b8719b3a1c83051aa63aa6b10d),platform=Linux 3.10.0-862.14.4.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 10.39 seconds
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22.693Z'
System info: host: 'humanoid', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-862.14.4.el7.x86_64', java.version: '1.8.0_191'
Driver info: driver.version: unknown

@alejandrohdo
Copy link

I also have the same problem, could someone have solved ?, Thanks

Message: unknown error: failed to wait for extension background page to load: chrome-extension://hgifibfnlmmjjglblhlbmpknpfndibjh/_generated_background_page.html from unknown error: page could not be found: chrome-extension://hgifibfnlmmjjglblhlbmpknpfndibjh/_generated_background_page.html (Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Mac OS X 10.14.2 x86_64)

@ani07
Copy link

ani07 commented Sep 26, 2019

Any solution for this @RobinDev @henices
This works perfectly for me but when running chromedriver in headless mode I am getting failed to wait for extension background page to load: chrome-extension://hgifibfnlmmjjglblhlbmpknpfndibjh/_generated_background_page.html.

@hosseinhashemidev
Copy link

This works perfectly for me too but again when running chromedriver in headless mode I am getting failed to wait for extension background page to load: chrome-extension://hgifibfnlmmjjglblhlbmpknpfndibjh/_generated_background_page.html.

@Yop-La
Copy link

Yop-La commented Aug 18, 2020

Hello @RobinDev ,

I am having the same issue:

Any solution for this @RobinDev @henices
This works perfectly for me but when running chromedriver in headless mode I am getting failed to wait for extension background page to load: chrome-extension://hgifibfnlmmjjglblhlbmpknpfndibjh/_generated_background_page.html.

@hiren-addweb
Copy link

hiren-addweb commented Sep 8, 2020

Hello @RobinDev ,
Same issue The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.

@araswathy
Copy link

I am also facing same issue any update on this issue

@darkotodoric
Copy link

Use "--headless=new" option, instead of "--headless". Then will work.

https://developer.chrome.com/articles/new-headless/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants