Page tree
Skip to end of metadata
Go to start of metadata

If you are using Webdriver.io to automate your tests, you can port your executions to seetest.io and run these tests on Real mobile devices and browsers.

How to configure your webdriver options to run against seetest.io services

Example - Webdriver.io Execution
var webdriverio = require('webdriverio');

let options = {
	host: 'cloud.seetest.io', 
	protocol: 'https',
	port: 443,
	path: '',	
	desiredCapabilities: {
		platformName: 'Android',
		testName: 'This is the WebDriver.io Example',
		accessKey: <Place your seetest.io access key - https://docs.seetest.io/display/SEET/Execute+Tests+on+seetest.io+-+Obtaining+Access+Key>
	}
};

webdriverio
	.remote(options)
	.init()
	.url('https://www.google.com')
	.getTitle().then(function (title) {
		console.log('Title was: ' + title);
	})
	.end()
	.catch(function (err) {
		console.log(err);
	});


To alter the platform you are executing against, just change the platform name (e.g from Android to iOS)

Appium (Mobile Devices ):  Additional capabilities for mobile devices can be found here: Capabilities in Appium Based Tests

Selenium (Desktop Browsers): Additional capabilities for browsers can be found here: Capabilities In Selenium Tests



  • No labels