Skip to content

Instantly share code, notes, and snippets.

@soulgalore soulgalore/safari.js
Last active Aug 13, 2019

What would you like to do?
Run Safari on iOS using Selenium
const { Builder, Capabilities } = require('selenium-webdriver');
(async function example() {
const caps = Capabilities.safari();
caps.set('platformName', 'iOS');
const driver = await new Builder()
try {
await driver.get('');
} finally {
await driver.quit();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.