OXYGEN
Home
GitHub
Releases
Community
Search…
Welcome to Oxygen
About
What is Oxygen?
Getting Started (Videos)
Getting help
Download and work with Oxygen
Download & Installation
Oxygen IDE Installation
Oxygen for Mobile Installation
Oxygen for Windows Desktop Automation Setup
Oxygen for Mac Installation
Oxygen CLI Installation
Java Installation Instructions
Recording Troubleshooting
Start working with Oxygen
Oxygen Modules
Test Parameters
Cloud Providers
Sauce Labs
Lambda Test
TestObject
Advanced programming in Oxygen
Project Configuration
Locating Elements
Page Objects
Environments
Code Components
Powered By
GitBook
Oxygen CLI Installation
Command-line application for running Oxygen tests and generating reports.
CLI Installation
Oxygen CLI - Command-line application for running tests and generating reports.
To start working with Oxygen Command-line (cli) - you must first install the following programs:
1.
​
Node.js
8 or later.
2.
​
Java 8
​
After installing the above programs you should do the following steps:
1.
Open the command line (cmd command)
2.
Type the following command in the command line:
1
npm
install
-g oxygen-cli
Copied!
After installation is finished, re-open your command-line.
In some cases you may need to run the installation command using sudo to provide the super-user do elevated permission
1
sudo
install
-g oxygen-cli
Copied!
In case you encounter some permission errors during installation, you can try the following:
1
sudo
npm
install
--unsafe-perm --verbose -g oxygen-cli
Copied!
Configuration
Oxygen CLI doesn't come bundled with Selenium nor Appium and requires installing them manually.
Desktop web applications automation
Download
Selenium Standalone Server
and the drivers for browsers you wish to use:
Chrome -
https://sites.google.com/a/chromium.org/chromedriver/downloads
​
Internet Explorer -
http://www.seleniumhq.org/download/
​
Firefox -
https://github.com/mozilla/geckodriver/releases
​
Place everything into a single directory and launch with (update selenium version if necessary):
1
java -Dwebdriver.chrome.driver
=
chromedriver.exe -Dwebdriver.ie.driver
=
IEDriverServer.exe -jar selenium-server-standalone-3.141.59.jar -port
4444
-timeout
320
-browserTimeout
320
Copied!
Mobile applications automation
If you wish to execute CLI on mobile devices you should first read Oxygen for mobile guide and installation instructions:
https://docs.oxygenhq.org/download-and-installation/mobile-installation
​
Download a
simulator
for the devices (optional).
Previous
Mac Installation Troubleshooting
Next
Java Installation Instructions
Last modified
2yr ago
Copy link
Contents
CLI Installation
Configuration