rshf / chromedriver

Automatically exported from code.google.com/p/chromedriver
2 stars 1 forks source link

Unknown command 'WaitForAllTabsToStopLoading #471

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Chrome updated it self to the latests version
2. Open a new session (from python, with remote or local webdriver)
3. Send a command

Simplified test case or site demonstrating the problem:
Any site, the site isn't even opened:
from selenium import webdriver
driver = webdriver.Chrome()
driver.get('http://www.google.nl')

What version of the product are you using? On what operating system?
ChromeDriver = 26.0.1383.0
Chrome = 29.0.1547.57
OS = Mac OS X 10.7.4
Python library: selenium = 2.35.0

Exception:
WebDriverException: Message: u"Unknown command 'WaitForAllTabsToStopLoading'. 
Options: AcceptOrDismissAppModalDialog, ActionOnSSLBlockingPage, ActivateTab, 
AddBookmark, AddDomEventObserver, AppendTab, ApplyAccelerator, 
BringBrowserToFront, ClearEventQueue, CloseBrowserWindow, CloseTab, 
CreateNewAutomationProvider, DeleteCookie, DeleteCookieInBrowserContext, 
DoesAutomationObjectExist, DragAndDropFilePaths, ExecuteJavascript, 
ExecuteJavascriptInRenderView, GetActiveTabIndex, GetAppModalDialogMessage, 
GetBookmarkBarStatus, GetBookmarksAsJSON, GetBrowserInfo, 
GetBrowserWindowCount, GetChromeDriverAutomationVersion, GetCookies, 
GetCookiesInBrowserContext, GetDownloadDirectory, GetExtensionsInfo, 
GetIndicesFromTab, GetLocalStatePrefsInfo, GetMultiProfileInfo, GetNextEvent, 
GetPrefsInfo, GetProcessInfo, GetSecurityState, GetTabCount, GetTabIds, 
GetTabInfo, GetViews, GoBack, GoForward, InstallExtension, 
IsDownloadShelfVisible, IsFindInPageVisible, IsMenuCommandEnabled, 
IsPageActionVisible, IsTabIdValid, MaximizeView, NavigateToURL, OpenFindInPage, 
OpenNewBrowserWindow, OpenNewBrowserWindowWithNewProfile, OpenProfileWindow, 
OverrideGeoposition, RefreshPolicies, Reload, RemoveBookmark, 
RemoveEventObserver, ReparentBookmark, RunCommand, SendWebkitKeyEvent, 
SetBookmarkTitle, SetBookmarkURL, SetCookie, SetCookieInBrowserContext, 
SetDownloadShelfVisible, SetExtensionStateById, SetLocalStatePrefs, SetPrefs, 
SetViewBounds, SimulateAsanMemoryBug, TriggerBrowserActionById, 
TriggerPageActionById, UninstallExtensionById, UpdateExtensionsNow, 
WaitForBookmarkModelToLoad, WaitUntilNavigationCompletes, 
WebkitMouseButtonDown, WebkitMouseButtonUp, WebkitMouseClick, 
WebkitMouseDoubleClick, WebkitMouseDrag, WebkitMouseMove, 
AcceptCurrentFullscreenOrMouseLockRequest, AddOrEditSearchEngine, 
AddSavedPassword, CloseNotification, DenyCurrentFullscreenOrMouseLockRequest, 
DisablePlugin, EnablePlugin, FindInPage, GetAllNotifications, GetDownloadsInfo, 
GetFPS, GetHistoryInfo, GetInitialLoadTimes, GetNTPInfo, GetNavigationInfo, 
GetOmniboxInfo, GetPluginsInfo, GetSavedPasswords, GetSearchEngineInfo, 
GetV8HeapStats, ImportSettings, IsFullscreenBubbleDisplayed, 
IsFullscreenBubbleDisplayingButtons, IsFullscreenForBrowser, 
IsFullscreenForTab, IsFullscreenPermissionRequested, 
IsMouseLockPermissionRequested, IsMouseLocked, KillRendererProcess, LaunchApp, 
LoadSearchEngineInfo, OmniboxAcceptInput, OmniboxMovePopupSelection, 
PerformActionOnDownload, PerformActionOnInfobar, PerformActionOnSearchEngine, 
RemoveNTPMostVisitedThumbnail, RemoveSavedPassword, 
RestoreAllNTPMostVisitedThumbnails, SaveTabContents, SetAppLaunchType, 
SetOmniboxText, SetWindowDimensions, WaitForAllDownloadsToComplete, 
WaitForNotificationCount, "

Original issue reported on code.google.com by paultjuh...@gmail.com on 22 Aug 2013 at 11:07

Attachments:

GoogleCodeExporter commented 9 years ago
I've got the same issue and had to update my chromedriver version to v2.2. But 
with new  chromedriver I cannot set the cookies: 
https://code.google.com/p/chromedriver/issues/detail?id=386

Original comment by alex.okr...@gmail.com on 22 Aug 2013 at 4:56

GoogleCodeExporter commented 9 years ago
Even though I'm not in a dev team but I can predict very precisely that this 
bug will be closed with a reason that `26.0.1383.0` isn't supported anymore

Original comment by zerkmss on 22 Aug 2013 at 10:04

GoogleCodeExporter commented 9 years ago
Reproducible for me with:
chromedriver_win32_2.2
Chrome 29.0.1547.57
Selenium 2.34

Original comment by Tatsiana...@epam.com on 23 Aug 2013 at 11:52

GoogleCodeExporter commented 9 years ago
Not reproducible with
Chrome Version 29.0.1547.57 m
2.2 driver
Selenium 2.33
Win 7 64bit

Original comment by zerkmss on 23 Aug 2013 at 11:53

GoogleCodeExporter commented 9 years ago
Update - works for me when updating webdriver to 2.35.

Original comment by Tatsiana...@epam.com on 23 Aug 2013 at 1:49

GoogleCodeExporter commented 9 years ago
I confirm that it now works for me with Selenium 2.35 and chromedriver 2.2 on 
OSX 10.8.

Original comment by jpha...@gmail.com on 25 Aug 2013 at 3:56

GoogleCodeExporter commented 9 years ago
Reproducible for me :

Using Chrome version 29.0.1547.57 m
OS: Win7 64-bit 
Perl bindings for Selenium : Selenium::Remote::Driver 0.17
chromedriver: 23.0.1240.0

Original comment by hir...@pythian.com on 26 Aug 2013 at 6:46

GoogleCodeExporter commented 9 years ago
I switched from Chrome v29 to v27 and everything is well and fine again !

Older version (v27) chrome : 
http://www.oldapps.com/google_chrome.php?old_chrome=12310?download

Disable auto updates 
:http://www.wikihow.com/Completely-Disable-Google-Chrome-Update

Original comment by hir...@pythian.com on 26 Aug 2013 at 7:20

GoogleCodeExporter commented 9 years ago
Having problems with v2.2 and Selenium 2.35 on Vista 32bit and Chrome 29.
This was working prior to Chrome 29 update. 
Selenium-Java

Starting ChromeDriver (v2.2) on port 34233
Build info: version: '2.35.0', revision: 
'8df0c6bedf70ff9f22c647788f9fe9c8d22210e2', time: '2013-08-17 12:46:41'
System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.0', 
java.version: '1.7.0_17'
Driver info: org.openqa.selenium.chrome.ChromeDriver
org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: 
crashed
  (Driver info: chromedriver=2.2,platform=Windows NT 6.0 SP2 x86) (WARNING: The server did not provide any stacktrace information)

Original comment by tmu...@gmail.com on 26 Aug 2013 at 9:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I mistakenly tought chromedriver was part of my chrome installation (so if I 
update chrome, chromedriver was updated too). Now I updated chromedriver 
everythings works fine again.

Original comment by paultjuh...@gmail.com on 27 Aug 2013 at 8:27

GoogleCodeExporter commented 9 years ago
Any word on this? This has broken all of our automated tests because we cannot 
downgrade our Chrome browsers.

Is there any other debug options I can do to find out why it's crashing?
The chromedriver says it starts, then seems to crash.

See Comment #9

Original comment by tmu...@gmail.com on 28 Aug 2013 at 4:38

GoogleCodeExporter commented 9 years ago
ChromeDriver 1 does not work with Chrome 29. If you have a separate issue, 
please file a separate bug. Thanks

Original comment by kkania@chromium.org on 28 Aug 2013 at 4:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hitting this issue with Chrome Version 30.0.1599.101 with Chrome Driver 2.4 and 
Selenium 2.37 on Linux 64 bit

Original comment by P.Mo...@googlemail.com on 22 Oct 2013 at 9:17

GoogleCodeExporter commented 9 years ago
Seeing this issue with chrome browser version 30.0.1599.101 selenium jar 
version 2.35 and chrome driver version 2.4

Original comment by chavanpr...@gmail.com on 23 Oct 2013 at 6:59

GoogleCodeExporter commented 9 years ago
Seeing this issue with chrome browser version 30.0.1599.101, Selenium 2.37.0, 
Windows 8 64-bit. 

Original comment by lichtenb...@gmail.com on 24 Oct 2013 at 5:32

GoogleCodeExporter commented 9 years ago
seeing this issue with chrome version 30.0.1599.101, Selenium 2.37.0, 
chromedriver 2.4, 2.3, & 2.2 on OS X Mavericks.

Original comment by griggsco...@gmail.com on 24 Oct 2013 at 9:53

GoogleCodeExporter commented 9 years ago
Have same issue :-( Selenium 2.37.0, chromedriver 2.6, chrome 30.0.1599.101

Original comment by smk...@gmail.com on 6 Nov 2013 at 8:30

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I had the same issue, but the 2.6 version of chrome webdriver has fixed it. 
Go to usr/local/bin (or whereever your actual version of webdriver is installed 
and remove it). If you have installed it using brew you can type in terminal: 
brew uninstall chromedriver
Then go here: http://chromedriver.storage.googleapis.com/index.html
And download 2.6 version of chromedriver. You have to put it in the  
usr/local/bin folder. 

Original comment by mikolaj....@gmail.com on 10 Nov 2013 at 10:41

GoogleCodeExporter commented 9 years ago
Run Date: Sun Nov 10 07:16:21 UTC 2013
OS: Debian 7.2 (Wheezy)
Browser: Chromium 30.0.1599.101 
ChromeDriver: 2.6 (built from source to support glibc 2.13 for Wheezy)
Selenium: 2.37.2 
Python: 2.7.3
Execution platform: Jenkins 1.538 (Xvfb 2:1.12.4-6)

Error:

Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/selenium-projects/WunderTests/TestSuite.py", line 24, in setUp
    self.chrome_driver.get("http://www.wunderlist.com"  # root navigation
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 176, in get
    self.execute(Command.GET, {'url': url})
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 164, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 164, in check_response
    raise exception_class(message, screen, stacktrace)
WebDriverException: Message: u"Unknown command 'WaitForAllTabsToStopLoading'. 
Options: AcceptOrDismissAppModalDialog, ActionOnSSLBlockingPage, ActivateTab, 
AddBookmark, AddDomEventObserver, AppendTab, ApplyAccelerator, 
BringBrowserToFront, ClearEventQueue, CloseBrowserWindow, CloseTab, 
CreateNewAutomationProvider, DeleteCookie, DeleteCookieInBrowserContext, 
DoesAutomationObjectExist, DragAndDropFilePaths, ExecuteJavascript, 
ExecuteJavascriptInRenderView, GetActiveTabIndex, GetAppModalDialogMessage, 
GetBookmarkBarStatus, GetBookmarksAsJSON, GetBrowserInfo, 
GetBrowserWindowCount, GetChromeDriverAutomationVersion, GetCookies, 
GetCookiesInBrowserContext, GetDownloadDirectory, GetExtensionsInfo, 
GetIndicesFromTab, GetLocalStatePrefsInfo, GetMultiProfileInfo, GetNextEvent, 
GetPrefsInfo, GetProcessInfo, GetSecurityState, GetTabCount, GetTabIds, 
GetTabInfo, GetViews, GoBack, GoForward, InstallExtension, 
IsDownloadShelfVisible, IsFindInPageVisible, IsMenuCommandEnabled, 
IsPageActionVisible, IsTabIdValid, MaximizeView, NavigateToURL, OpenFindInPage, 
OpenNewBrowserWindow, OpenNewBrowserWindowWithNewProfile, OpenProfileWindow, 
OverrideGeoposition, RefreshPolicies, Reload, RemoveBookmark, 
RemoveEventObserver, ReparentBookmark, RunCommand, SendWebkitKeyEvent, 
SetBookmarkTitle, SetBookmarkURL, SetCookie, SetCookieInBrowserContext, 
SetDownloadShelfVisible, SetExtensionStateById, SetLocalStatePrefs, SetPrefs, 
SetViewBounds, SimulateAsanMemoryBug, TriggerBrowserActionById, 
TriggerPageActionById, UninstallExtensionById, UpdateExtensionsNow, 
WaitForBookmarkModelToLoad, WaitUntilNavigationCompletes, 
WebkitMouseButtonDown, WebkitMouseButtonUp, WebkitMouseClick, 
WebkitMouseDoubleClick, WebkitMouseDrag, WebkitMouseMove, 
AcceptCurrentFullscreenOrMouseLockRequest, AddOrEditSearchEngine, 
AddSavedPassword, CloseNotification, DenyCurrentFullscreenOrMouseLockRequest, 
DisablePlugin, EnablePlugin, FindInPage, GetAllNotifications, GetDownloadsInfo, 
GetFPS, GetHistoryInfo, GetInitialLoadTimes, GetNTPInfo, GetNavigationInfo, 
GetOmniboxInfo, GetPluginsInfo, GetSavedPasswords, GetSearchEngineInfo, 
GetV8HeapStats, IsFullscreenBubbleDisplayed, 
IsFullscreenBubbleDisplayingButtons, IsFullscreenForBrowser, 
IsFullscreenForTab, IsFullscreenPermissionRequested, 
IsMouseLockPermissionRequested, IsMouseLocked, KillRendererProcess, LaunchApp, 
LoadSearchEngineInfo, OmniboxAcceptInput, OmniboxMovePopupSelection, 
PerformActionOnDownload, PerformActionOnInfobar, PerformActionOnSearchEngine, 
RemoveNTPMostVisitedThumbnail, RemoveSavedPassword, 
RestoreAllNTPMostVisitedThumbnails, SaveTabContents, SetAppLaunchType, 
SetOmniboxText, SetWindowDimensions, WaitForAllDownloadsToComplete, 
WaitForNotificationCount, " 

Original comment by greg@gmgauthier.com on 10 Nov 2013 at 3:44

GoogleCodeExporter commented 9 years ago
I'm seeing this as well...
 - Selenium 2.37.1 
 - ChromeDriver 26.0.1383.0 
 - Chrome 30.0.1599.101

Original comment by dassp...@gmail.com on 12 Nov 2013 at 2:18

GoogleCodeExporter commented 9 years ago
Same problem here:
- selenium-server-standalone-2.35.0
- chromedriver 26.0.1383.0 (2.6)
- Chrome 31.0.1650.57

Original comment by chblum...@gmail.com on 19 Nov 2013 at 10:14

GoogleCodeExporter commented 9 years ago
With browser chromium version 33.0.1729.0 and chromedriver 2.7 it works fine

Original comment by job...@gmail.com on 12 Dec 2013 at 11:58

GoogleCodeExporter commented 9 years ago
error is thrown and chrome failed to start
 -selenium-server 2.38.0
 -chrome         31.0.1650.63
 -chromedriver   2.7.236900

Original comment by sans...@gmail.com on 13 Dec 2013 at 8:15

GoogleCodeExporter commented 9 years ago
I can reproduce this, as #29 could, in Chrome 31.0.1650.63m and 
ChromeDriver/WebDriver 2.38.0.0. Essentially the same stack trace as #25, 
except I'm loading the driver via NUnit tests in Visual Studio.

Original comment by ste...@stefanmohr.com on 13 Dec 2013 at 10:37

GoogleCodeExporter commented 9 years ago
Issue Description:
Chrome driver not responding when we run the test and throws a warning saying 
that , WARN:    Keyword 'Capture Page Screenshot' could not be run on failure: No 
browser is open.

Steps to reproduce (if relevant, you MUST provide a simplified html page or
link to public site):
1. Go to command propmt.
2. Run the robot framework test ex: pybot abc.txt
3. The test will open the chrome browser and i will not load the URL.
4. Then throws an WARN saying ,
WARN:   Keyword 'Capture Page Screenshot' could not be run on failure: No browser 
is open.

5.Then all the test fails.
6.Then the browser closes.

Original comment by abhi.alw...@gmail.com on 17 Jan 2014 at 9:57

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:26