Skip to content

Instantly share code, notes, and snippets.

View xywang68's full-sized avatar

xywang68 xywang68

View GitHub Profile
vagrant@desktop02:~$ node --version
v8.11.1
vagrant@desktop02:~$ npm ls selenium-webdriver --depth=0
SFPortal-JS@1.0.0 /home/vagrant
└── selenium-webdriver@4.0.0-alpha.1
@xywang68
xywang68 / selenium-3.11.0-FF log with error
Last active March 20, 2018 00:16
selenium log for IEDriver and ChromeDriver
16:42:11.167 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.11.0', revision: 'e59cfb3'
16:42:11.167 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 4444
2018-03-19 16:42:11.276:INFO::main: Logging initialized @425ms to org.seleniumhq.jetty9.util.log.StdErrLog
16:42:11.573 INFO [SeleniumServer.boot] - Welcome to Selenium for Workgroups....
16:42:11.573 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
16:42:25.980 INFO [ActiveSessionFactory.apply] - Capabilities are: Capabilities {acceptSslCerts: true, browserName: firefox, cssSelectorsEnabled: true, elementScrollBehavior: 0, handlesAlerts: true, javascriptEnabled: true, locationContextEnabled: true, loggingPrefs: org.openqa.selenium.logging..., name: , nativeEvents: true, pageLoadStrategy: normal, platform: WINDOWS, requestOrigins: {name: webdriverio, url: http://webdriver.io, version: 4.10.1}, rotatable: true, takesScreenshot: true, unexpectedAlertBehaviour: dismiss, unhandledPromptBe
@xywang68
xywang68 / reporter.js
Last active February 2, 2018 20:43
support html tags for screenshot and movie file path
// code change for:
// https://github.com/gkushang/cucumber-html-reporter/issues/129
'use strict';
var jsonFile = require('jsonfile');
var _ = require('lodash');
var fs = require('fs-extra');
var path = require('path');
var jsonDir = require('./jsonDir');