2013-10-24 9 views
0

Python 바인딩을 사용하면 chromedriver를 시작하는 문제가 발생합니다. 나는 OS X 용으로 Mavericks 업그레이드를 설치했다. 크롬 드라이버를 처음 실행했을 때 알 수없는 오류가 발생했다. Chromedriver가 시작되지 않았다. (Chromedriver 2.2, 2.3 및 2.4).Chromedriver Mavericks Selenium

일부 읽기를 한 후에 자세한 정보 표시 모드 (Chromedriver 2.4, Chrome 버전 30.0.1599.101)를 사용할 때 권장되는 해결책을 찾았습니다. 지금, 나는 아직도를 시작할 수 없습니다,하지만 난 다른 오류가 발생하고있어, 찾아보기 후이 시간을 열었습니다 :

selenium.common.exceptions.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, " 
+0

원본 오류에 대해서는 2.2, 2.3 및 2.4 버전을 시도했습니다. chromedriver 2.4에서 verbose 버전을 실행했습니다. Chrome 버전은 30.0.1599.101 – qaduderino

+0

아, 맞습니다. 내 env 정보를 티켓에도 추가했습니다. 감사! – qaduderino

+0

@qaduderino이 질문이 게시 된 이후 chromedriver에 대한 몇 가지 업데이트가있었습니다. chromedriver 2.6을 사용해 보셨습니까? 저를 위해 모든 매버릭스 호를 해결했습니다. –

답변

관련 문제