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

Unable to retrieve browser console logs in IE11 #4802

Closed
vkhromenkov opened this issue Oct 3, 2017 · 1 comment
Closed

Unable to retrieve browser console logs in IE11 #4802

vkhromenkov opened this issue Oct 3, 2017 · 1 comment

Comments

@vkhromenkov
Copy link

Meta -

OS:
Windows 7 Pro
Selenium Version:
3.5.3
Browser:
Internet Explorer 11
Browser Version:
11.0.9600.18792

Expected Behavior -

successfully retrieved browser console logs with driver.manage().logs().get("browser")

Actual Behavior -

java.lang.ClassCastException: com.google.common.collect.Maps$TransformedEntriesMap cannot be cast to java.util.List
	at org.openqa.selenium.remote.RemoteLogs.getRemoteEntries(RemoteLogs.java:83)
	at org.openqa.selenium.remote.RemoteLogs.get(RemoteLogs.java:77)

Steps to reproduce -

Simple piece of code:

WebDriver driver = new InternetExplorerDriver();
driver.manage().logs().get("browser");

Just a note that it works fine on Chrome and fails on Firefox due to not implemented in gecko driver

@lmtierney
Copy link
Member

lmtierney commented Oct 3, 2017

Console logs are not available from IE. It has been proposed and may be added to the W3C spec in the future. w3c/webdriver#406

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants