am start PACKAGE_NAME/main
reboot
pm dump PACKAGE_NAME | grep -A 1 MAIN
am force-stop PACKAGE_NAME
dumpsys window windows | grep mCurrentFocus
pm list packages
idevicediagnostics restart
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'platform=iOS,name=Riku' test
curl -X POST -d '{"desiredCapabilities":{"bundleId":"com.apple.mobilesafari", "arguments": ["-u", "http://www.example.com"]}}' $DEVICE_URL/session
/usr/local/Cellar/ios-webkit-debug-proxy/1.8/bin/ios_webkit_debug_proxy
ios-webkit-debug-proxy/examples/wdp_client.html
ideviceimagemounter /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0/DeveloperDiskImage.dmg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| set -e | |
| if [ "SKAFFOLDER_DEBUG" = "yes" ]; then | |
| set +x | |
| fi | |
| Watchdog() { | |
| pid=$1; shift | |
| while true; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| set -e | |
| apt-get update && apt-get install -y curl | |
| curl https://gist.githubusercontent.com/matti/ac4dd1c49225c693880457a604f615ab/raw/8198b6993124c681a77838a93fcd7c9bf731c1c6/skaffolder.sh > /skaffolder.sh | |
| chmod +x skaffolder.sh | |
| apt-get purge curl | |
| rm -rf /var/lib/apt/lists/* |
firefoxilla: https://www.google.com/chrome/
- lataa & asenna chrome.
terminaalissa:
vaihdetaan pääkäyttäjäksi:
sudo su
sitten asennetaan tarvittat paketit rubyyn:
Selenium IDE chromeen: https://chrome.google.com/webstore/detail/selenium-ide/mooikfkahbdckldjjndioackbalphokd/related?hl=en
Avaa terminaali ja:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| aa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # source before -u | |
| . /usr/local/opt/asdf/asdf.sh | |
| asdf_tool_versions_path="$(dirname "$(readlink "$0")")/../.tool-versions" | |
| asdf_tool_versions_content=$(cat "$asdf_tool_versions_path") | |
| IFS=$'\n' | |
| for line in $asdf_tool_versions_content; do | |
| name=$(echo "$line" | cut -d' ' -f1) | |
| version=$(echo "$line" | cut -d' ' -f2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3.7 | |
| import asyncio | |
| import iterm2 | |
| async def main(connection): | |
| app = await iterm2.async_get_app(connection) | |
| topLeft = app.current_terminal_window.current_tab.current_session | |
| topRight = await topLeft.async_split_pane(vertical=True) |