Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

Improve the extendibility of WebDriverCommandProcessor #6479

Open
@lukeis

Description

@lukeis

Originally reported on Google Code with ID 6479

Description
===========
The attached patch improves the extendibility of WebDriverCommandProcessor.

- for getting raw result value, change access modifier of execute() into "public".
- for using in user-defined command or for injecting user-defined processing,
  add setter/getter of internal objects used in pre-defined command.

Reason
======
I am creating selenese interpreter. ( https://github.com/vmi/selenese-runner-java )
I want to get a raw result value of execute() method because it's type cannot be determined
statically.
And I want to access internal objects used in pre-defined command (for example, like
ElementFinder),
in order to register my command or to inject my processing into pre-defined command.

Benefits
========
WebDriverCommandProcessor becomes more general-purpose parts.

Drawbacks
=========
I think there is no drawback.

Reported by [email protected] on 2013-10-25 14:14:58


- _Attachment: [WDCP.diff](https://storage.googleapis.com/google-code-attachments/selenium/issue-6479/comment-0/WDCP.diff)_

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions