Permalink
Cannot retrieve contributors at this time
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upselenium-webdriver-winappdriver-example/TestEnviroment.ts /
Go to file| import { driver, windowsAppDriverCapabilities } from 'selenium-appium' | |
| const appId = 'Microsoft.WindowsCalculator_8wekyb3d8bbwe!App' | |
| class TestEnviroment { | |
| setup() { | |
| jest.setTimeout(60000); | |
| const capabilities = windowsAppDriverCapabilities(appId); | |
| return driver.startWithCapabilities(capabilities); | |
| } | |
| teardown() { | |
| return driver.quit(); | |
| } | |
| } | |
| export default new TestEnviroment(); |