mirror of
https://github.com/appium/appium.git
synced 2026-01-14 06:10:01 -06:00
* chore(package): update eslint-config-appium to version 4.0.1 * chore: fix linting * chore: rebase and done
15 lines
497 B
JavaScript
15 lines
497 B
JavaScript
const webdriverio = require('webdriverio');
|
|
const iosOptions = require('../../helpers/caps').iosWebOptions;
|
|
const assert = require('chai').assert;
|
|
|
|
|
|
describe('Create Safari session', function () {
|
|
it('should create and destroy IOS Safari session', async function () {
|
|
const client = await webdriverio.remote(iosOptions);
|
|
await client.url('https://www.google.com');
|
|
const title = await client.getTitle();
|
|
assert.equal(title, 'Google');
|
|
await client.deleteSession();
|
|
});
|
|
});
|