storeCssCount not supported #49

Closed
cwortel opened this Issue Jul 18, 2012 · 4 comments

2 participants

@cwortel

EXCEPTION:java.lang.UnsupportedOperationException: storeCssCount
at org.openqa.selenium.WebDriverCommandProcessor.execute(WebDriverCommandProcessor.java:141)
at org.openqa.selenium.WebDriverCommandProcessor.doCommand(WebDriverCommandProcessor.java:74)
at com.xebia.incubator.xebium.SeleniumDriverFixture.executeCommand(SeleniumDriverFixture.java:463)
at com.xebia.incubator.xebium.SeleniumDriverFixture.executeCommand(SeleniumDriverFixture.java:438)
at com.xebia.incubator.xebium.SeleniumDriverFixture.isOn(SeleniumDriverFixture.java:337)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at fitnesse.slim.MethodExecutor.callMethod(MethodExecutor.java:43)
at fitnesse.slim.MethodExecutor.invokeMethod(MethodExecutor.java:30)
at fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:53)
at fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:18)
at fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:189)
at fitnesse.slim.StatementExecutor.callAndAssign(StatementExecutor.java:201)
at fitnesse.slim.Statement.callAndAssign(Statement.java:117)
at fitnesse.slim.Statement.execute(Statement.java:79)
at fitnesse.slim.ListExecutor.execute(ListExecutor.java:36)
at fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:81)
at fitnesse.slim.SlimServer.processTheInstructions(SlimServer.java:73)
at fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:57)
at fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:43)
at fitnesse.slim.SlimServer.serve(SlimServer.java:30)
at fitnesse.socketservice.SocketService$ServerRunner.run(SocketService.java:95)
at java.lang.Thread.run(Thread.java:722)

As a workaround storeXpathCount can be used

@amolenaar
Xebia BV member

This command is not present in Selenium. Have to file a bug there.

Edit: http://code.google.com/p/selenium/issues/detail?id=4273

@amolenaar amolenaar added a commit that referenced this issue Jul 18, 2012
@amolenaar amolenaar Added getCssCount command. Hopefully Selenium will implement it in th…
…eir next release too. See #49.
3034555
@cwortel
@amolenaar
Xebia BV member

It's available in Selenium IDE. Not via WebDriver (the CommandProcessor).

@amolenaar
Xebia BV member

Fixed in Selenium: http://code.google.com/p/selenium/source/detail?r=18098

Now, let's wait for the next Selenium release ;)

@amolenaar amolenaar closed this Nov 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment