Skip to content

Instantly share code, notes, and snippets.

Shridhar Kalagi shridharkalagi

Block or report user

Report or block shridharkalagi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View workshop.txt
Gist created from API
View workshop.txt
Gist created from API
View Error selenium dependency
java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;I)V
at org.openqa.selenium.remote.service.DriverService$Builder.usingPort(DriverService.java:294)
at io.appium.java_client.service.local.AppiumServiceBuilder.usingPort(AppiumServiceBuilder.java:447)
at io.appium.java_client.service.local.AppiumServiceBuilder.<init>(AppiumServiceBuilder.java:95)
at Tests.MobileAppTests.BaseDriver.setUp(BaseDriver.java:22)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
View wdio-devtools-debug-log
Sending build context to Docker daemon 752.1kB
Step 1/12 : FROM node:12
---> da572e0d48fc
Step 2/12 : RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
---> Using cache
---> bc35d1ec1d7c
Step 3/12 : WORKDIR /home/node/app
---> Using cache
---> 7ad6028cb53b
Step 4/12 : RUN apt-get update && apt-get install -y git-all gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libappindicator3-1 libnss3 lsb-release xdg-utils apt-utils xvfb
View gist:101379197f9047d8a7200b60be9db4ae
FROM docker-prod.registry.com/library/node:11.9.0-stretch
RUN sudo apt-get update
RUN apt-get update && apt-get install -y wget unzip fontconfig locales gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utilsCopy
View gist:0e2ac65b21de8a4f7d24b370afb3afcd
FROM docker-prod.registry.com/library/node:11.9.0-stretch
RUN sudo apt-get update
RUN apt-get update && apt-get install -y wget unzip fontconfig locales gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utilsCopy
View v5 config
import SetContext from './test/StrategySample';
exports.config = {
runner: 'local',
exclude: [
// 'path/to/excluded/files'
],
capabilities: [{
maxInstances: 1,
browserName: 'firefox',
View gist:03d0c0f55bc154912886ce23ac8d5c55
exports.config = {
baseUrl: 'https://www-test.com',
// ======================
// Grid Node Capabilities
// ======================
//
// capabilities: {
// maxInstances: 1,
// browserName: 'chrome'
// },
View gist:e1b4b3c0d4ccf867dc7372939768039a
const defaultConfig = require( './wdio.conf.js');
const overriddenConfig = {
baseUrl: baseURL,
host: 'localhost',
port: 4444,
capabilities: {
maxInstances: 1,
browserName: 'chrome'
},
services: ['selenium-standalone'],
@shridharkalagi
shridharkalagi / generate-alphabets.js
Created May 9, 2019 — forked from mreigen/generate-alphabets.js
Javascript generate alphabet string
View generate-alphabets.js
function generateAlphabets() {
var alphabets = [];
var start = 'A'.charCodeAt(0);
var last = 'Z'.charCodeAt(0);
for (var i = start; i <= last; ++i) {
alphabets.push(String.fromCharCode(i));
}
return alphabets.join('');
}
You can’t perform that action at this time.