Skip to content

Instantly share code, notes, and snippets.

View mpahuja's full-sized avatar

Manoj Pahuja mpahuja

  • Nextdoor
  • San Francisco, CA
View GitHub Profile
@mpahuja
mpahuja / Pages - BasePage.swift
Created September 24, 2019 06:27
Pages - BasePage.swift
import XCTest
open class BasePage {
public let app: XCUIApplication
public required init(testCase: BaseTest) {
self.app = testCase.globalSampleApp
}
}
@mpahuja
mpahuja / gist:4ab0dff9dc1b4c8bf56a284f61e565e8
Created July 25, 2017 00:30
WebdriverIO Logs when running tests on linux
``17:01:17 [17:01:17] COMMAND POST "/wd/hub/session"
17:01:17 [17:01:17] DATA {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"browserName":"chrome","loggingPrefs":{"browser":"SEVERE","driver":"ALL","performance":"INFO"},"chromeOptions":{"args":["--start-maximized"],"prefs":{"profile.default_content_setting_values.geolocation":1}},"build":"local-local-chrome-20170725T000117.857Z","name":"local-local-chrome-20170725T000117.857Z","webdriver.remote.quietExceptions":true,"_":"1 more keys: [\"requestOrigins\"]"}}
17:01:18 [17:01:18] INFO SET SESSION ID c9638d1f-3780-4d8c-aad9-0c93a26df150
17:01:18 [17:01:18] RESULT {"applicationCacheEnabled":false,"rotatable":false,"mobileEmulationEnabled":false,"networkConnectionEnabled":true,"chrome":{"chromedriverVersion":"2.30.477691 (6ee44a7247c639c0703f291d320bdf05c1531b57)","userDataDir":"/tmp/.org.chromium.Chromium.VSksfL"},"takesHeapSnapshot":true,"pageLoadStrategy":"normal","unhandledPromptBehav