WebDriverException: Message: unknown error: cannot get automation extension from unknown error: page could not be found: chrome-extension...

1,526 views
Skip to first unread message

nreso...@imvu.com

unread,
Apr 4, 2017, 6:01:36 PM4/4/17
to robotframework-users
I just started getting this error yesterday, after things were all going fine for a long time.  The error reads:

Keyword 'Capture Page Screenshot' could not be run on failure: WebDriverException: Message: unknown error: cannot get automation extension

from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html


This causes all tests to fail, though it's notable that the browser does open to the right page.  The error occurs on  Selenium2Library . Maximize Browser Window .  I believe, based on some googling, that the error comes from having updated something and the selenium version no longer matching chrome.  However, I've run the following:


pip install --upgrade robotframework-selenium2library

brew upgrade chromedriver


I also confirmed that I have the most recent version of Chrome (Version 57.0.2987.133 (64-bit)).  So... at this point I'm running out of ideas.  Any thoughts from you folks?

nreso...@imvu.com

unread,
Apr 4, 2017, 6:56:04 PM4/4/17
to robotframework-users

Current specs, by the way:  chromedriver: stable 2.29

robotframework-selenium2library Version: 1.8.0 

Tatu Aalto

unread,
Apr 5, 2017, 2:11:12 AM4/5/17
to nreso...@imvu.com, robotframework-users
Ugh

I don't remember will the Selenium2Library update with pip also updated the dependencies. Therefore it might be worth while to do​: pip install -U selenium 

Also sometimes one or two versions older ChromeDriver or selenium is able to solve the problem.

-Tatu
Send from my mobile

On Apr 5, 2017 01:56, <nreso...@imvu.com> wrote:

Current specs, by the way:  chromedriver: stable 2.29

robotframework-selenium2library Version: 1.8.0 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

nreso...@imvu.com

unread,
Apr 5, 2017, 1:26:39 PM4/5/17
to robotframework-users, nreso...@imvu.com
I tried, but Selenium's up to date according to pip

Name: selenium

Version: 3.3.3

Jukka Väyrynen

unread,
Apr 6, 2017, 2:08:33 AM4/6/17
to robotframework-users, nreso...@imvu.com
Chromedriver 2.29 with selenium 3.3.3 solved the problem for me!

nreso...@imvu.com

unread,
Apr 11, 2017, 8:04:19 PM4/11/17
to robotframework-users, nreso...@imvu.com
Just in case anyone else finds this, the issue turned out to be that I had two versions of Chromedriver, so the Brew information was giving me the wrong one.  Deleting all instances of Chromedriver and reinstalling fixed everything.

John Derks

unread,
Apr 21, 2017, 6:38:20 AM4/21/17
to robotframework-users, nreso...@imvu.com
This worked for me too. Had ChromeDriver v2.24.417431, updated to 2.29.461591 and everything was fine again.

Op woensdag 12 april 2017 02:04:19 UTC+2 schreef nreso...@imvu.com:
Reply all
Reply to author
Forward
0 new messages