Scripts
Appium drivers can include scripts for executing specific actions. The scripts included in the Geckodriver can be run as follows:
For more information about the appium driver run command, refer to the Appium docs.
Note
Script arguments should be provided after an additional double dash (--), to ensure they are
passed to the script itself, instead of the appium driver run command.
install-geckodriver¶
Downloads and installs the geckodriver server binary.
Usage¶
Optional Arguments¶
Argument |
Description |
Type | Default |
|---|---|---|---|
version |
Specific version of geckodriver to download |
string | stable |
--dest, --d |
Directory where the binary should be installed | string | macOS/Linux: /usr/local/bin (fallbacks to ~/.local/bin), Windows: %LOCALAPPDATA%\\Mozilla |
Examples¶
-
Install the latest stable version of
geckodriver: -
Install
geckodriverversion0.35.0: -
Install the latest stable version of
geckodriverin a custom directory: