API Docs for: 0.2.7
Show:

IME Class

Defined in: lib/ime.js:8
Module: Interaction
Parent Module: WebDriver

Input Method Editor object

Constructor

IME

(
  • driver
)

Defined in lib/ime.js:8

Parameters:

Methods

_logMethodCall

(
  • event
)
private

Defined in lib/ime.js:26

Logs a method call by an event

Parameters:

_requestJSON

(
  • method
  • path
  • [body]
)
private

Defined in lib/ime.js:39

Performs a context dependent JSON request for the current session. The result is parsed for errors.

Parameters:

Returns:

:

activate

(
  • engine
)

Defined in lib/ime.js:102

Make an engines that is available (appears on the list returned by getAvailableEngines) active. After this call, the engine will be added to the list of engines loaded in the IME daemon and the input sent using sendKeys will be converted by the active engine.

Note that this is a platform-independent method of activating IME (the platform-specific way being using keyboard shortcuts)

Parameters:

deactivate

()

Defined in lib/ime.js:119

De-activates the currently-active IME engine

getActiveEngine

() String

Defined in lib/ime.js:81

Get the name of the active IME engine. The name string is platform specific.

Returns:

getEngines

() Array.

Defined in lib/ime.js:70

List all available engines on the machine. To use an engine, it has to be present in this list.

Returns:

Array.:

isActivated

() Boolean

Defined in lib/ime.js:91

Indicates whether IME input is active at the moment (not if it's available)

Returns: