iphone+android+identifier,Appium 上真机运行 Safari 曲线救国方式

info: Welcome to Appium v0.12.3

info: Appium REST http interface listener started on 0.0.0.0:4723

info - socket.io started

info: Not spawning instruments force-quit watcher since it only works on 10.9 and you have 10.8.5

info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.12.3","revision":"c8abd030c0cedcc387532f2aa986fd956e46eb4f"}}}

GET /wd/hub/status 200 7ms - 144b

debug: Appium request initiated at /wd/hub/status

debug: Request received with params: {}

debug: Appium request initiated at /wd/hub/session

info: Determining current user

debug: Request received with params: {"desiredCapabilities":{"platform":"iPhone Simulator","app":"safari","version":"7.0"}}

info: User is administrator

error: Could not find support directory for mobile safari, does it exist at Library/Application Support/iPhone Simulator/7.0/Library/ or /Users/administrator/Library/Application Support/iPhone Simulator/7.0/Library/?

info: ENOENT, stat '/Users/administrator/Library/Application Support/iPhone Simulator/7.0/Library'

info: Using local zip or ipa from desiredCaps: ./build/SafariLauncher/SafariLauncherSim.zip

info: Copying local zip to tmp dir

info: ./build/SafariLauncher/SafariLauncherSim.zip copied to /var/folders/b8/1vfhv4bx50g84c0brnnqtj9w0000gn/T/1131122-1506-19wavvt/appium-app.zip

info: Unzipping /var/folders/b8/1vfhv4bx50g84c0brnnqtj9w0000gn/T/1131122-1506-19wavvt/appium-app.zip

info: Testing zip archive: /var/folders/b8/1vfhv4bx50g84c0brnnqtj9w0000gn/T/1131122-1506-19wavvt/appium-app.zip

info: Zip archive tested clean

info: Unzip successful

info: Using locally extracted app: /var/folders/b8/1vfhv4bx50g84c0brnnqtj9w0000gn/T/1131122-1506-19wavvt/submodules/SafariLauncher/build/Release-iphonesimulator/SafariLauncher.app

info: Creating new appium session 25762106-558d-467e-8652-efdecd8a2f4b

info: Removing any remaining instruments sockets

info: Cleaned up instruments socket /tmp/instruments_sock

warn: Could not parse plist file at /var/folders/b8/1vfhv4bx50g84c0brnnqtj9w0000gn/T/1131122-1506-19wavvt/submodules/SafariLauncher/build/Release-iphonesimulator/SafariLauncher.app/en.lproj/Localizable.strings

debug: Launching device: iPhone Retina (4-inch)

info: Killing the simulator process

info: Parsed app Info.plist

info: Wrote new app Info.plist with device type

info: Starting iOS 7.* simulator log capture

debug: No device id or app, not installing to real device.

info: Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments

debug: Creating instruments

info: [INSTSERVER] Instruments socket server started at /tmp/instruments_sock

info: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate /var/folders/b8/1vfhv4bx50g84c0brnnqtj9w0000gn/T/1131122-1506-19wavvt/submodules/SafariLauncher/build/Release-iphonesimulator/SafariLauncher.app -e UIASCRIPT /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments/

info: And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/build/iwd/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/build/iwd"}

info: And launch timeout: 90000ms

debug: Appium request initiated at /wd/hub/status

info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.12.3","revision":"c8abd030c0cedcc387532f2aa986fd956e46eb4f"}},"sessionId":"25762106-558d-467e-8652-efdecd8a2f4b"}

debug: Request received with params: {}

GET /wd/hub/status 200 4ms - 199b

info: [INST STDERR] 2013-12-22 08:31:04.631 ScriptAgent[1591:3007] CLTilesManagerClient: initialize, sSharedTilesManagerClient

info: [INST STDERR] 2013-12-22 08:31:04.632 ScriptAgent[1591:3007] CLTilesManagerClient: init

info: [INST STDERR] 2013-12-22 08:31:04.633 ScriptAgent[1591:3007] CLTilesManagerClient: reconnecting, 0xa176510

info: [INSTSERVER] Instruments is ready to receive commands

info: Instruments launched. Starting poll loop for new commands.

info: [INSTSERVER] Socket data received (15 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: Navigating to most recently opened webview

info: [REMOTE] Debugger socket connected to ::1:27753

debug: [REMOTE] Sending _rpc_reportIdentifier: message to remote debugger

info: [REMOTE] Sending connection key

info: [REMOTE] Selecting app

info: Picking webview 1

info: [REMOTE] Selecting page 1 and forwarding socket setup

info: [REMOTE] Set sender key

debug: [REMOTE] { __argument: { WIRConnectionIdentifierKey: 'd06114b4-f048-4d4f-b7a1-a743c38f5184' },

__selector: '_rpc_reportIdentifier:' }

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE] { __selector: '_rpc_reportSetup:',

__argument:

{ WIRSimulatorNameKey: 'iPhone Simulator',

WIRSimulatorProductVersionKey: '7.0.3',

WIRSimulatorBuildKey: '11B508' } }

debug: [REMOTE] Sim name: iPhone Simulator

debug: [REMOTE] Sim build: 11B508

debug: [REMOTE] { __selector: '_rpc_reportConnectedApplicationList:',

__argument:

{ WIRApplicationDictionaryKey:

{ 'com.apple.mobilesafari':

{ WIRApplicationIdentifierKey: 'com.apple.mobilesafari',

WIRApplicationNameKey: 'Safari',

WIRIsApplicationProxyKey: false } } } }

debug: [REMOTE] Sending _rpc_forwardGetListing: message to remote debugger

debug: [REMOTE] { __argument:

{ WIRConnectionIdentifierKey: 'd06114b4-f048-4d4f-b7a1-a743c38f5184',

WIRApplicationIdentifierKey: 'com.apple.mobilesafari' },

__selector: '_rpc_forwardGetListing:' }

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE] { __selector: '_rpc_applicationSentListing:',

__argument:

{ WIRApplicationIdentifierKey: 'com.apple.mobilesafari',

WIRListingKey:

{ '1':

{ WIRPageIdentifierKey: 1,

WIRTitleKey: 'Apple',

WIRURLKey: 'http://www.apple.com/' } } } }

debug: [REMOTE] Sending _rpc_forwardSocketSetup: message to remote debugger

debug: [REMOTE] { __argument:

{ WIRApplicationIdentifierKey: 'com.apple.mobilesafari',

WIRConnectionIdentifierKey: 'd06114b4-f048-4d4f-b7a1-a743c38f5184',

WIRSenderKey: 'bc8a3a50-d0e6-4c68-bbdc-cbede9cd210e',

WIRPageIdentifierKey: 1 },

__selector: '_rpc_forwardSocketSetup:' }

debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE]

debug: [REMOTE] Checking document readyState

debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE]

debug: [REMOTE] readyState was complete

info: [REMOTE] Enabled activity on page

info: [REMOTE] Sending javascript command

info: Overriding session id with [object Object]

info: Device launched! Ready for commands (will time out in 60secs)

info: Appium session started with sessionId [object Object]

POST /wd/hub/session 303 15334ms - 9b

debug: [REMOTE] Receiving data from remote debugger

info: Remote debugger notified us of a new page listing

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE] { __selector: '_rpc_applicationSentListing:',

__argument:

{ WIRApplicationIdentifierKey: 'com.apple.mobilesafari',

WIRListingKey:

{ '1':

{ WIRConnectionIdentifierKey: 'd06114b4-f048-4d4f-b7a1-a743c38f5184',

WIRURLKey: 'http://www.apple.com/',

WIRTitleKey: 'Apple',

WIRPageIdentifierKey: 1 } } } }

debug: [REMOTE] Page loaded, verifying through readyState

debug: [REMOTE] Checking document readyState

debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger

info: [REMOTE] Sending javascript command

info: New page listing is same as old, doing nothing

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE]

debug: [REMOTE] readyState was complete

debug: [REMOTE] Page is ready, calling onload cbs

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值