Skip to content

Instantly share code, notes, and snippets.

View jochakovsky's full-sized avatar

Joshua Ochakovsky jochakovsky

View GitHub Profile
@jochakovsky
jochakovsky / seleniumLogsSplitOfUndefined
Created October 26, 2017 00:29
Selenium logs for WebdriverIO issue
17:22:13.189 INFO - Selenium build info: version: '3.6.0', revision: '6fbf3ec767'
17:22:13.189 INFO - Launching a standalone Selenium Server
2017-10-25 17:22:13.216:INFO::main: Logging initialized @241ms to org.seleniumhq.jetty9.util.log.StdErrLog
17:22:13.269 INFO - Driver class not found: com.opera.core.systems.OperaDriver
17:22:13.297 INFO - Driver provider class org.openqa.selenium.ie.InternetExplorerDriver registration is skipped:
registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match the current platform MAC
17:22:13.297 INFO - Driver provider class org.openqa.selenium.edge.EdgeDriver registration is skipped:
registration capabilities Capabilities [{browserName=MicrosoftEdge, version=, platform=WINDOWS}] does not match the current platform MAC
17:22:13.327 INFO - Using the passthrough mode handler
2017-10-25 17:22:13.353:INFO:osjs.Server:main: jetty-9.4.5.v20170502
@jochakovsky
jochakovsky / waitUntilTests.js
Last active October 21, 2017 07:01
WebdriverIO browser.waitUntil proposal
var assert = require('assert');
const RESOLVE_TIME = 50;
const TIMEOUT = 200;
describe('webdriver.io page', function() {
it('waitUntil should stop waiting when promise resolves truthy', function () {
const start = Date.now();
browser.waitUntil(new Promise((resolve) => {
setTimeout(() => {

Keybase proof

I hereby claim:

  • I am jochakovsky on github.
  • I am jochakovsky (https://keybase.io/jochakovsky) on keybase.
  • I have a public key whose fingerprint is 4BAB 0FCC 1E92 B0EA E65B 4A3C 1500 87C4 698F 145D

To claim this, I am signing this object: