This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
glace-web with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Provides steps for GlaceJS framework to launch web UI tests in browser.
javain order to launch
npm i glace-web
var glaceWeb = require("glace-web"); glaceWeb.Steps; glaceWeb.config;
If plugin is used as a part of
GlaceJS it will be loaded automatically.
--dont-install-drivers- Flag to not install selenium drivers on tests run.
--web- Flag to launch tests in browser. Browser will be launched on session start and closed on session finish.
--web-url- Application URL which will be used for web tests.
--web-resolution <widthxheight>- Browser viewport size (
--selenium-addr- Connect to launched selenium server with this address.
--platform- Specify platform type where tests will be executed. Default is
pc. Supported values are
--browser- Name of browser where web tests will be executed. Default value is platform specific.
--device- Mobile device name.
--os-version- Mobile operating system version.
--ios-engine- iOS automation engine name.
See integration tests in order to explore examples.