Provides steps for GlaceJS framework to launch web UI tests in browser.
- Launch standalone selenium server
- Connect to existing selenium or appium server
- Page Object Model with weak refs
- Browser Pointer Events
- Installed
java
in order to launchselenium
server.
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.
Selenium
--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 (pc
platform only).--selenium-addr
- Connect to launched selenium server with this address.--platform
- Specify platform type where tests will be executed. Default ispc
. Supported values arepc
,android
,ios
.--browser
- Name of browser where web tests will be executed. Default value is platform specific.
Appium
--device
- Mobile device name.--os-version
- Mobile operating system version.--ios-engine
- iOS automation engine name.
See integration tests in order to explore examples.