Closed
Bug 1307154
Opened 8 years ago
Closed 8 years ago
Marionette-Driver throws "org.openqa.selenium.UnsupportedCommandException: GET /session/499b299e-b78f-4f18-946d-f6faf09237b6/log/types did not match a known command" during execution command getAvailableLogTypes()
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: uliana.yeryksonava, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Steps to reproduce:
Meta
OS: Windows 7
Selenium Version: 3.0.0-beta3
Browser: Mozilla Firefox
Browser Version: 49.0.1
Geckodriver: v0.10.0
Steps to reproduce (Java 8):
WebDriver driver = new FirefoxDriver(capabilities);
driver.get("http://www.example.com");
Logs logs = driver.manage().logs();
logs.getAvailableLogTypes();
Actual results:
The following exception appears:
org.openqa.selenium.UnsupportedCommandException: GET /session/499b299e-b78f-4f18-946d-f6faf09237b6/log/types did not match a known command (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 6 milliseconds
Build info: version: 'unknown', revision: 'c7b525d', time: '2016-09-01 14:57:44 -0700'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_91'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, appBuildId=20160922113459, version=49.0.1, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=13752, browserVersion=49.0.1, platformVersion=6.1, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=windows_nt, device=desktop, firefox_profile=UEsDBBQACAgIABKPQ0kAAAAAAAAAA...}]
Session ID: 499b299e-b78f-4f18-946d-f6faf09237b6
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:631)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:654)
at org.openqa.selenium.remote.RemoteExecuteMethod.execute(RemoteExecuteMethod.java:33)
at org.openqa.selenium.remote.RemoteLogs.getAvailableLogTypes(RemoteLogs.java:103)
at com.jjconsumer.dte.bdd.steps.ui.web.JsValidationSteps.checkJSErrorsOnOpenedPage(JsValidationSteps.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jbehave.core.steps.StepCreator$ParametrisedStep.perform(StepCreator.java:597)
at org.jbehave.core.embedder.PerformableTree$FineSoFar.run(PerformableTree.java:356)
at org.jbehave.core.embedder.PerformableTree$PerformableSteps.perform(PerformableTree.java:1079)
at org.jbehave.core.embedder.PerformableTree$AbstractPerformableScenario.performRestartableSteps(PerformableTree.java:951)
at org.jbehave.core.embedder.PerformableTree$NormalPerformableScenario.perform(PerformableTree.java:987)
at org.jbehave.core.embedder.PerformableTree$PerformableScenario.perform(PerformableTree.java:900)
at org.jbehave.core.embedder.PerformableTree$PerformableStory.performScenarios(PerformableTree.java:824)
at org.jbehave.core.embedder.PerformableTree$PerformableStory.perform(PerformableTree.java:800)
at org.jbehave.core.embedder.PerformableTree.performCancellable(PerformableTree.java:432)
at org.jbehave.core.embedder.PerformableTree.perform(PerformableTree.java:403)
at org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:297)
at org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:271)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Expected results:
List of available log types.
Severity: normal → major
OS: Unspecified → Windows 7
Hardware: Unspecified → x86
Comment 1•8 years ago
|
||
Access to logs isn’t in the WebDriver specification and not implemented in geckodriver or Marionette.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•