Skip to content

Instantly share code, notes, and snippets.

View kapoorlakshya's full-sized avatar
🙃

Lakshya Kapoor kapoorlakshya

🙃
View GitHub Profile
@kapoorlakshya
kapoorlakshya / selenium_click_works.log
Created May 15, 2019 00:35
selenium_click_works.log
# Logfile created on 2019-05-14 17:28:52 -0700 by logger.rb/66358
2019-05-14 17:28:52 INFO Selenium -> POST session/70d04ec224c42b68782f54664e10cef8/element
2019-05-14 17:28:52 INFO Selenium >>> http://127.0.0.1:9515/session/70d04ec224c42b68782f54664e10cef8/element | {"using":"xpath","value":".//*[local-name()='iframe'][contains(@src, 'SearchPage_Procedure')]"}
2019-05-14 17:28:53 INFO Selenium <- {"value":{"element-6066-11e4-a52e-4f735466cecf":"5035ccf6-853b-485a-95be-2acd3d7d4d82"}}
2019-05-14 17:28:53 INFO Selenium -> GET session/70d04ec224c42b68782f54664e10cef8/element/5035ccf6-853b-485a-95be-2acd3d7d4d82/css/staleness_check
2019-05-14 17:28:53 INFO Selenium <- {"value":""}
2019-05-14 17:28:53 INFO Selenium -> POST session/70d04ec224c42b68782f54664e10cef8/frame
2019-05-14 17:28:53 INFO Selenium >>> http://127.0.0.1:9515/session/70d04ec224c42b68782f54664e10cef8/frame | {"id":{"element-6066-11e4-a52e-4f735466cecf":"5035ccf6-853b-485a-95be-2acd3d7d4d82"}}
2019-05-14 17:28:53 INFO Selenium <- {"value":n
@kapoorlakshya
kapoorlakshya / jruby_debugging_cheatsheet.md
Last active June 7, 2019 23:06
Debugging in JRuby 9.2.x

Debugging in JRuby 9.2.x

  1. Add these gems in gemfile or gemspec:
gem 'ruby-debug'
gem 'columnize'
  1. Add require 'ruby-debug' in your project.
@kapoorlakshya
kapoorlakshya / webdriverio-aws-device-farm-debug-log.txt
Last active February 4, 2020 00:19
webdriverio-aws-device-farm-debug-log
Execution of 1 spec files started at 2020-02-04T00:03:44.867Z
2020-02-04T00:03:44.868Z INFO @wdio/cli:launcher: Run onPrepare hook
2020-02-04T00:03:44.871Z INFO @wdio/local-runner: Start worker 0-0 with arg: webdriver:aws
[0-0] 2020-02-04T00:03:45.147Z INFO @wdio/local-runner: Run worker command: run
[0-0] RUNNING in chrome - /specs/login/home-page.js
[0-0] 2020-02-04T00:03:45.230Z DEBUG @wdio/local-runner:utils: init remote session
[0-0] 2020-02-04T00:03:45.231Z INFO webdriverio: Initiate new session using the webdriver protocol
[0-0] 2020-02-04T00:03:45.233Z INFO webdriver: [POST] https://testgrid-devicefarm.us-west-2.amazonaws.com/:443AQICAHiRxhO-<redacted-long-string>_s1KzZx_a4zfHB
2YtrdnY=/wd/hub/session

Disable Device Enrollment Program (DEP) notification on macOS Catalina.md

With full reinstall (recommended)

   a. Boot into recovery using command-R during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS

   b. Initial installation will run for approximately 1 hour, and reboot once

   c. It will then show a remaining time of about 10-15 minutes

@kapoorlakshya
kapoorlakshya / TestRailObservation.swift
Created May 13, 2022 05:25 — forked from billylam/TestRailObservation.swift
Sample for pushing XCTest/XCUITest results to TestRail
//
// TestRailObservation.swift
//
import Foundation
import XCTest
class TestRailObservation: NSObject, XCTestObservation {
// Add a user / pass or key for testrail generation
var testrailUsername: String = ""