Revert "Create session and basic interactions samples (#9907)" (#9915)

This reverts commit 061e264800.
This commit is contained in:
Dan Graham
2018-01-04 13:52:30 -08:00
committed by GitHub
parent 061e264800
commit 36cc935fc5
21 changed files with 1 additions and 281 deletions

View File

@@ -1,28 +0,0 @@
import wd from 'wd';
import chai from 'chai';
import { androidCaps, serverConfig } from '../helpers/caps';
const {assert} = chai;
describe('Create Chrome web session', function () {
it('should create and destroy Android browser session', async function () {
// Connect to Appium server
const driver = await wd.promiseChainRemote(serverConfig);
// Start the session
await driver.init({
...androidCaps,
browserName: 'Chrome'
});
// Navigate to google.com
await driver.get('https://www.google.com');
// Test that it was successful by checking the document title
const pageTitle = await driver.title();
assert.equal(pageTitle, 'Google');
// Quit the session
await driver.quit();
});
});