Skip to content

Instantly share code, notes, and snippets.

View renatofmachado's full-sized avatar

Renato Machado renatofmachado

View GitHub Profile
[0-0] RUNNING in chrome - /test/specs/basic.js
[0-0] 2020-04-18T15:57:14.853Z INFO webdriverio: Initiate new session using the webdriver protocol
[0-0] 2020-04-18T15:57:14.855Z INFO webdriver: [POST] http://localhost:9515/session
[0-0] 2020-04-18T15:57:14.856Z INFO webdriver: DATA {
capabilities: { alwaysMatch: { browserName: 'chrome' }, firstMatch: [ {} ] },
desiredCapabilities: { browserName: 'chrome' }
}
[0-0] 2020-04-18T15:57:15.857Z INFO webdriver: COMMAND navigateTo("https://webdriver.io/")
[0-0] 2020-04-18T15:57:15.857Z INFO webdriver: [POST] http://localhost:9515/session/37f2919db3e5a9684bac108ebc2e316c/url
[0-0] 2020-04-18T15:57:15.857Z INFO webdriver: DATA { url: 'https://webdriver.io/' }

Keybase proof

I hereby claim:

  • I am renatofmachado on github.
  • I am renatomachado (https://keybase.io/renatomachado) on keybase.
  • I have a public key ASBY-CXAYJznbL34nE6RVPM4V2uf6a6NEyEGecL83XHDQQo

To claim this, I am signing this object:

@renatofmachado
renatofmachado / hosts
Last active January 8, 2016 10:49
Hosts script to help edit the host names.
#!/bin/bash
# Lists all of the available host names.
function list(){
ips=$(cat "$file" | grep -E "^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}" | tr -s "\t " "\t")
numberOfFiles=$(echo -e "$ips" | wc -l | tr -d " ")
echo -e "\nThere are $numberOfFiles hosts registered:\n\n$ips"
}
# Adds an host to the list