Skip to content

Instantly share code, notes, and snippets.

@pako88
pako88 / Dockerfile
Created May 14, 2020 04:57
Dockerize WDIO
FROM node:lts
RUN apt-get update \
&& apt-get install -y python-pip jq \
#add google repository to apt source list to install google-chrome-unstable
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
&& apt-get install -y google-chrome-stable --no-install-recommends \
&& pip install yq \
@pako88
pako88 / gist:a0aaa699e6540b9e43e842d2142787bd
Created April 23, 2020 05:59
wdio sauce simulators error
2020-04-23T05:42:58.628Z INFO @wdio/local-runner: Run worker command: run
2020-04-23T05:43:01.215Z DEBUG @wdio/local-runner:utils: init remote session
2020-04-23T05:43:01.218Z INFO webdriverio: Initiate new session using the ./protocol-stub protocol
2020-04-23T05:43:02.014Z DEBUG @wdio/utils:initialiseServices: initialise service "sauce" as NPM package
2020-04-23T05:43:03.083Z DEBUG @wdio/local-runner:utils: init remote session
2020-04-23T05:43:03.085Z INFO webdriverio: Initiate new session using the webdriver protocol
2020-04-23T05:43:03.087Z INFO webdriver: [POST] https://ondemand.eu-central-1.saucelabs.com/wd/hub/session
2020-04-23T05:43:03.088Z INFO webdriver: DATA {
capabilities: {
alwaysMatch: {
@pako88
pako88 / console
Created November 6, 2019 08:56
wdio junit reporter bug
Execution of 2 spec files started at 2019-11-06T07:39:19.877Z
Debugger attached.
Starting ChromeDriver 77.0.3865.40 (f484704e052e0b556f8030b65b953dce96503217-refs/branch-heads/3865@{#442}) on port 4444
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[0-0] For help, see: https://nodejs.org/en/docs/inspector
[0-0] FAILED
[0-1] FAILED