API for integration testing. To be used on test images with a test component extension.
API for integration testing. To be used on test images with a test component extension. * available since Chrome 27
(bootstrap-machine-learning-service)
Makes a basic request to ML Service, triggering 1. ML Service daemon startup, and 2. the initial D-Bus -> Mojo IPC bootstrap.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Makes a basic request to ML Service, triggering 1. ML Service daemon startup, and 2. the initial D-Bus -> Mojo IPC bootstrap. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-extensions-info)
Get info about installed extensions.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [info] where:
|info| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Get info about installed extensions. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [info] where: |info| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-histogram name)
Get details about a histogram displayed at chrome://histogram.
|name| - Histogram name, e.g. 'Accessibility.CrosAutoclick'.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [histogram] where:
|histogram| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Get details about a histogram displayed at chrome://histogram. |name| - Histogram name, e.g. 'Accessibility.CrosAutoclick'. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [histogram] where: |histogram| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-play-store-state)
Get state of the Play Store.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [result] where:
|result| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Get state of the Play Store. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [result] where: |result| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-printer-list)
Get list of available printers
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [printers] where:
|printers| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Get list of available printers This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [printers] where: |printers| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-visible-notifications)
Get visible notifications on the system.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [notifications] where:
|notifications| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Get visible notifications on the system. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [notifications] where: |notifications| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(is-app-shown app-id)
Returns true if requested app is shown in Chrome.
|app-id| - ?
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [app-shown] where:
|app-shown| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Returns true if requested app is shown in Chrome. |app-id| - ? This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [app-shown] where: |app-shown| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(launch-app app-id)
Launches an application from the launcher with the given appId.
|app-id| - ?
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Launches an application from the launcher with the given appId. |app-id| - ? This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(login-status)
Get login status.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [status] where:
|status| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Get login status. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [status] where: |status| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(remove-printer printer-id)
Remove printer.
|printer-id| - ?
Remove printer. |printer-id| - ?
(run-crostini-installer)
Run the crostini installer GUI to install the default crostini vm / container and create sshfs mount. The installer launches the crostini terminal app on completion. The installer expects that crostini is not already installed.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Run the crostini installer GUI to install the default crostini vm / container and create sshfs mount. The installer launches the crostini terminal app on completion. The installer expects that crostini is not already installed. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(run-crostini-uninstaller)
Run the crostini uninstaller GUI to remove the default crostini vm / container. The callback is invoked upon completion.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Run the crostini uninstaller GUI to remove the default crostini vm / container. The callback is invoked upon completion. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(set-crostini-enabled enabled)
Enable/disable Crostini in preferences.
|enabled| - Enable Crostini.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Enable/disable Crostini in preferences. |enabled| - Enable Crostini. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(set-mouse-reverse-scroll enabled)
Turn on/off reverse scrolling for mice.
|enabled| - if set, enable reverse scrolling.
Turn on/off reverse scrolling for mice. |enabled| - if set, enable reverse scrolling.
(set-mouse-sensitivity value)
Set the mouse pointer sensitivity setting.
|value| - the pointer sensitivity setting index.
Set the mouse pointer sensitivity setting. |value| - the pointer sensitivity setting index.
(set-natural-scroll enabled)
Turn on/off Australian scrolling for devices other than wheel mouse.
|enabled| - if set, enable Australian scrolling.
Turn on/off Australian scrolling for devices other than wheel mouse. |enabled| - if set, enable Australian scrolling.
(set-play-store-enabled enabled)
Enable/disable the Play Store.
|enabled| - if set, enable the Play Store.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Enable/disable the Play Store. |enabled| - if set, enable the Play Store. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(set-primary-button-right right)
Swap the primary mouse button for left click.
|right| - if set, swap the primary mouse button.
Swap the primary mouse button for left click. |right| - if set, swap the primary mouse button.
(set-tap-dragging enabled)
Turn on/off tap dragging for the touchpad.
|enabled| - if set, enable tap dragging.
Turn on/off tap dragging for the touchpad. |enabled| - if set, enable tap dragging.
(set-tap-to-click enabled)
Turn on/off tap-to-click for the touchpad.
|enabled| - if set, enable tap-to-click.
Turn on/off tap-to-click for the touchpad. |enabled| - if set, enable tap-to-click.
(set-three-finger-click enabled)
Turn on/off three finger click for the touchpad.
|enabled| - if set, enable three finger click.
Turn on/off three finger click for the touchpad. |enabled| - if set, enable three finger click.
(set-touchpad-sensitivity value)
Set the touchpad pointer sensitivity setting.
|value| - the pointer sensitivity setting index.
Set the touchpad pointer sensitivity setting. |value| - the pointer sensitivity setting index.
(shutdown force)
Shutdown the browser.
|force| - if set, ignore ongoing downloads and onunbeforeunload handlers.
Shutdown the browser. |force| - if set, ignore ongoing downloads and onunbeforeunload handlers.
(simulate-asan-memory-bug)
Simulates a memory access bug for asan testing.
Simulates a memory access bug for asan testing.
(take-screenshot)
Takes a screenshot and returns the data in base64 encoded PNG format.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [base64-png] where:
|base64-png| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Takes a screenshot and returns the data in base64 encoded PNG format. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [base64-png] where: |base64-png| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.autotest-private namespace.
Taps all valid non-deprecated events in chromex.ext.autotest-private namespace.
(update-printer printer)
Update printer. Printer with empty ID is considered new.
|printer| - ?
Update printer. Printer with empty ID is considered new. |printer| - ?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close