Closed
Bug 1298382
Opened 9 years ago
Closed 9 years ago
Error while trying to get console logs with driver.manage().logs().get("browser")
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: slawert, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Steps to reproduce:
I tried to get the console logs from the browser with: driver.manage().logs().get("browser")
I am using selenium-java 3.0.0-beta2.
Actual results:
It gave back an error:
org.openqa.selenium.WebDriverException: POST /session/386d7115-646a-7045-9cda-dc8e4ff10197/log did not match a known command (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 2 milliseconds
Build info: version: '3.0.0-beta2', revision: '2aa21c1', time: '2016-08-02 15:03:28 -0700'
System info: host: 'my-MacBook-Pro.local', ip: '192.168.153.42', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.5', java.version: '1.8.0_51'
Driver info: org.openqa.selenium.firefox.MarionetteDriver
Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, appBuildId=20160817112116, version=48.0.1, platform=MAC, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, browserVersion=48.0.1, platformVersion=15.5.0, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=Firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=Darwin, device=desktop}]
Session ID: 386d7115-646a-7045-9cda-dc8e4ff10197
Command duration or timeout: 187 milliseconds
Build info: version: 'unknown', revision: '31c43c8', time: '2016-08-02 21:57:56 -0700'
System info: host: 'my-MacBook-Pro.local', ip: '192.168.153.42', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.5', java.version: '1.8.0_51'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, appBuildId=20160817112116, version=48.0.1, platform=MAC, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, webdriver.remote.sessionid=b174f1e0-5226-43a5-a3fd-75c452146f52, browserVersion=48.0.1, platformVersion=15.5.0, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=Firefox, takesScreenshot=true, takesElementScreenshot=true, javascriptEnabled=true, platformName=Darwin, device=desktop, cssSelectorsEnabled=true}]
Session ID: b174f1e0-5226-43a5-a3fd-75c452146f52
Expected results:
I am not sure if Firefox driver should work differently than the rest of the browsers. It does not happen in Safari or chrome, in which I am able to retrieve the js console logs.
If it should behave the same way. Then, the expected result would be the list of console logs.
Comment 1•9 years ago
|
||
FirefoxDriver is not maintained by Mozilla. Please report your issue with the Selenium project.
We don’t have any intentions of supporting this in Marionette until a specification that vendors agree on is in place.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•