This file contains 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
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:platformVersion":"4.1.2","appium:app":"/Users/maksimliakhavets/IdeaProjects/test_android/app/instagram-54-0-0-14-82.apk","appium:deviceName":"e19e6661","appium:automationName":"Selendroid","appium:appPackage":"com.instagram.android","appium:appActivity":"com.instagram.mainactivity.MainActivity"}]},"desiredCapabilities":{"platformName":"Android","platformVersion":"4.1.2","app":"/Users/maksimliakhavets/IdeaProjects/test_android/app/instagram-54-0-0-14-82.apk","deviceName":"e19e6661","automationName":"Selendroid","appPackage":"com.instagram.android","appActivity":"com.instagram.mainactivity.MainActivity"}} | |
[W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","platformVersion":"4.1.2","app":"/Users/maksimliakhavets/IdeaProjects/test_android/app/instagram-54-0-0-14-82.apk","deviceName":"e19e6661","automationName":"Selendroid","appPackage":"com.instagram.android","appActivity":"com.instagram.mainactivity.MainActivity |
This file contains 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
https://www56.zippyshare.com/v/eSsA5EPn/file.html |
This file contains 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
import io.appium.java_client.MobileBy; | |
import io.appium.java_client.MobileElement; | |
import io.appium.java_client.MultiTouchAction; | |
import io.appium.java_client.TouchAction; | |
import io.appium.java_client.touch.WaitOptions; | |
import io.appium.java_client.touch.offset.ElementOption; | |
import org.openqa.selenium.Dimension; | |
import org.openqa.selenium.Point; | |
import org.openqa.selenium.interactions.Actions; | |
import org.openqa.selenium.interactions.Pause; |
This file contains 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
@Configuration | |
@Order(1) | |
public static class BasicAuthenticationAdapter extends WebSecurityConfigurerAdapter { | |
private final AuthenticationEntryPoint authEntryPoint; | |
@Autowired | |
public BasicAuthenticationAdapter(AuthenticationEntryPoint authEntryPoint) { | |
this.authEntryPoint = authEntryPoint; | |
} |
This file contains 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
[HTTP] <-- POST /wd/hub/session/083ca92c-902e-41bb-adae-19802017f73c/appium/device/terminate_app 200 1075 ms - 14 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/083ca92c-902e-41bb-adae-19802017f73c/execute/sync | |
[HTTP] {"script":"mobile: activateApp","args":[{"bundleId":"com."}]} | |
[debug] [W3C] Calling AppiumDriver.execute() with args: ["mobile: activateApp",[{"bundleId":"com."}],"083ca92c-902e-41bb-adae-19802017f73c"] | |
[debug] [XCUITest] Executing command 'execute' | |
[debug] [JSONWP Proxy] Proxying [POST /wda/apps/activate] to [POST http://localhost:8100/session/8711B371-B9D8-4446-B241-81D97BF6E4ED/wda/apps/activate] with body: {"bundleId":"com."} | |
[debug] [RemoteDebugger] Notified that new application 'PID:4412' has connected | |
[debug] [RemoteDebugger] Found app id key 'PID:4412' for bundle 'com.' | |
[debug] [RemoteDebugger] Page changed: {} |
This file contains 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
org.openqa.selenium.NoSuchSessionException: A session is either terminated or not started | |
Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T14:04:26.12Z' | |
System info: host: 'iMac-Maksim.local', ip: 'fe80:0:0:0:18ac:14fb:349f:a1c0%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.6', java.version: '1.8.0_192' | |
Driver info: io.appium.java_client.ios.IOSDriver | |
Capabilities {app: /Users/maksim/IdeaProjects/..., autoWebview: true, automationName: XCUITest, browserName: , clearSystemFiles: true, databaseEnabled: false, deviceName: iPhone XS Max, fullReset: false, javascriptEnabled: true, launchTimeout: 90, locationContextEnabled: false, networkConnectionEnabled: false, newCommandTimeout: 90, noReset: false, platform: MAC, platformName: iOS, platformVersion: 12.1, printPageSourceOnFindFailure: true, takesScreenshot: true, udid: B5810411-7BBD-4688-A211-982..., version: 12.1, webStorageEnabled: false, webviewConnectRetries: 20} | |
Session ID: 083ca92c-902e-41bb-adae-19802017f73c | |
at sun |
This file contains 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
import java.util.Iterator; | |
import java.util.NoSuchElementException; | |
public class Converter { | |
Iterator<Integer> convert(Iterator<Iterator<Integer>> it) { | |
return new Iterator<Integer>() { | |
/** | |
* Current step of iterator |
This file contains 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
import os | |
from flask import Flask, request, redirect, url_for, send_from_directory | |
from flask_cors import CORS | |
from werkzeug.utils import secure_filename | |
UPLOAD_FOLDER = 'files' | |
ALLOWED_EXTENSIONS = {'pcap'} | |
app = Flask(__name__) | |
CORS(app) |
This file contains 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
public class UiAutomatorCheck { | |
public static void main(String[] args) throws MalformedURLException { | |
DesiredCapabilities caps = new DesiredCapabilities(); | |
caps.setCapability("deviceName", "192.168.191.101:5555"); | |
caps.setCapability("platformName", "Android"); | |
caps.setCapability("app", "C:\\cygwin64\\unlock_apk-debug.apk"); | |
AndroidDriver driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), caps); |
This file contains 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
<body data-spy="scroll" data-target=".navbar" data-offset="50"> | |
<!-- Navigation Part --> | |
<nav class="navbar navbar-inverse navbar-fixed-top"> | |
<div class="container-fluid"> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".myNavbar"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> |