So, you only have sudo and you need to setup a mac machine with only sudo...you'll likely need these commands
- mount the image
sudo cp -R /path/to/Foobar.app /Applications
sudo open -a /path/to/Foobar.app
# side button ( works well for Houdini ) | |
button4 => button3 | |
# wheel button | |
button3 => mission_control |
# mirror mac keyboard setup | |
left_option => left_command | |
left_command => left_option | |
right_option => right_option | |
application => right_option | |
# vim users | |
caps_lock => escape |
#!/usr/bin/env node | |
const through2 = require("through2"); | |
let raw = ""; | |
process.stdin | |
.pipe(through2(function(chunk, enc, cb) { | |
this.push(chunk.toString()); | |
cb(); |
Install `webpack` and `webpack-dev-server`, | |
``` | |
npm i --save-dev webpack | |
npm i --save-dev webpack-dev-server | |
``` | |
Start the webpack server, | |
``` | |
webpack-dev-server --env development | |
``` |
# Install | |
Init package, | |
``` | |
cd /path/to/app | |
npm init | |
``` | |
Install webdriverio, | |
``` | |
npm i --save-dev webdriverio |
Fetch headers and follow redirects | |
``` | |
curl --head --location <url> | |
``` |
# Xpath | |
## Reference | |
- https://www.w3.org/TR/xpath/ | |
## Examples | |
You can test xpath in the Chrome Inspector Elements Panel via the Find operation. | |
Given, |