# WebDriverAgent
[![NPM version](http://img.shields.io/npm/v/appium-webdriveragent.svg)](https://npmjs.org/package/appium-webdriveragent)
[![Downloads](http://img.shields.io/npm/dm/appium-webdriveragent.svg)](https://npmjs.org/package/appium-webdriveragent)
[![Release](https://github.com/appium/WebDriverAgent/actions/workflows/publish.js.yml/badge.svg)](https://github.com/appium/WebDriverAgent/actions/workflows/publish.js.yml)
[![GitHub license](https://img.shields.io/badge/license-BSD-lightgrey.svg)](LICENSE)
WebDriverAgent is a [WebDriver server](https://w3c.github.io/webdriver/webdriver-spec.html) implementation for iOS that can be used to remote control iOS devices. It allows you to launch & kill applications, tap & scroll views or confirm view presence on a screen. This makes it a perfect tool for application end-to-end testing or general purpose device automation. It works by linking `XCTest.framework` and calling Apple's API to execute commands directly on a device. WebDriverAgent is developed for end-to-end testing and is successfully adopted by [Appium](http://appium.io) via [XCUITest driver](https://github.com/appium/appium-xcuitest-driver).
## Features
* Both iOS and tvOS platforms are supported with devices & simulators
* Implements most of [WebDriver Spec](https://w3c.github.io/webdriver/webdriver-spec.html)
* Implements part of [Mobile JSON Wire Protocol Spec](https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md)
* USB support for devices is implemented via [appium-ios-device](https://github.com/appium/appium-ios-device) library and has zero dependencies on third-party tools.
* Easy development cycle as it can be launched & debugged directly via Xcode
* Use [Mac2Driver](https://github.com/appium/appium-mac2-driver) to automate macOS apps
## Getting Started On This Repository
You need to have Node.js installed for this project.
After it is finished you can simply open `WebDriverAgent.xcodeproj` and start `WebDriverAgentRunner` test
and start sending [requests](https://github.com/facebook/WebDriverAgent/wiki/Queries).
More about how to start WebDriverAgent [here](https://github.com/facebook/WebDriverAgent/wiki/Starting-WebDriverAgent).
## Known Issues
If you are having some issues please checkout [wiki](https://github.com/facebook/WebDriverAgent/wiki/Common-Issues) first.
## For Contributors
If you want to help us out, you are more than welcome to. However please make sure you have followed the guidelines in [CONTRIBUTING](CONTRIBUTING.md).
## Creating Bundles
`npm run bundle`
Then, you find `WebDriverAgentRunner-Runner-sim-<version>.zip` for iOS and `WebDriverAgentRunner-Runner-tv_sim-<version>.zip` for tvOS files in the current directory.
## License
[`WebDriverAgent` is BSD-licensed](LICENSE). We also provide an additional [patent grant](PATENTS).
## Third Party Sources
WebDriverAgent depends on the following third-party frameworks:
- [CocoaHTTPServer](https://github.com/robbiehanson/CocoaHTTPServer)
- [RoutingHTTPServer](https://github.com/mattstevens/RoutingHTTPServer)
These projects haven't been maintained in a while. That's why the source code of these
projects has been integrated directly in the WebDriverAgent source tree.
You can find the source files and their licenses in the `WebDriverAgentLib/Vendor` directory.
Have fun!
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
解决[IOS自动化]Xcode build时报错: Cannot link directly with dylib/framework XcodeDriverAgent文件包,用于替换 /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj 文件 因为最新安装的appium这个文件夹是有问题的 npm install -g appium
资源推荐
资源详情
资源评论
收起资源包目录
Xcode build时报错: Cannot link directly with dylib/framewor (512个子文件)
.eslintignore 25B
Fastfile 925B
Gemfile 188B
.gitignore 754B
GCDAsyncSocket.h 59KB
GCDAsyncUdpSocket.h 47KB
FBHTTPStatusCodes.h 12KB
FBConfiguration.h 11KB
HTTPResponse.h 8KB
XCUIDevice+FBHelpers.h 7KB
LSApplicationWorkspace.h 7KB
FBBaseActionsSynthesizer.h 6KB
XCTRunnerDaemonSession.h 5KB
FBSession.h 5KB
XCTestCase.h 5KB
XCUIApplication+FBHelpers.h 5KB
XCUIElement+FBClassChain.h 5KB
XCSourceCodeTreeNode.h 5KB
XCUIElement+FBUtilities.h 4KB
XCTestManager_ManagerInterface-Protocol.h 4KB
XCEventGenerator.h 4KB
HTTPLogging.h 4KB
FBXCElementSnapshot.h 4KB
HTTPServer.h 4KB
XCKeyboardKeyMap.h 4KB
_XCTestCaseImplementation.h 4KB
XCUIRecorderNodeFinder.h 4KB
XCUIApplication+FBTouchAction.h 4KB
XCTestConfiguration.h 4KB
FBXCElementSnapshotWrapper+Helpers.h 4KB
XCTRunnerIDESession.h 3KB
XCUIElement+FBScrolling.h 3KB
FBClassChainQueryParser.h 3KB
FBCommandStatus.h 3KB
XCUIElement+FBFind.h 3KB
HTTPConnection.h 3KB
XCUIElementQuery.h 3KB
FBXCodeCompatibility.h 3KB
XCTestManager_IDEInterface-Protocol.h 3KB
XCUIApplicationProcess.h 3KB
FBRuntimeUtils.h 3KB
XCUIElement.h 3KB
FBScreenshot.h 3KB
FBElementUtils.h 3KB
FBImageIOScaler.h 3KB
FBElement.h 3KB
FBMacros.h 3KB
XCUIApplication.h 2KB
FBXPath-Private.h 2KB
FBAlert.h 2KB
XCAXClient_iOS.h 2KB
FBRunLoopSpinner.h 2KB
RoutingHTTPServer.h 2KB
FBResponsePayload.h 2KB
FBKeyboard.h 2KB
FBElementCache.h 2KB
WebDriverAgentLib.h 2KB
XCSourceCodeRecording.h 2KB
XCTestPrivateSymbols.h 2KB
XCTWaiter.h 2KB
XCUIRecorderUtilities.h 2KB
XCUIElementDouble.h 2KB
XCUIElementDouble.h 2KB
XCApplicationMonitor.h 2KB
FBRoute.h 2KB
XCUIElement+FBPickerWheel.h 2KB
_XCTestExpectationImplementation.h 2KB
FBExceptions.h 2KB
FBSettings.h 2KB
FBIntegrationTestCase.h 2KB
FBXPath.h 2KB
XCUIElement+FBTyping.h 2KB
_XCTWaiterImpl.h 2KB
LRUCache.h 2KB
XCUIElement+FBResolve.h 2KB
_XCInternalTestRun.h 2KB
FBXCAXClientProxy.h 2KB
NSPredicate+FBFormat.h 2KB
XCTestDriver.h 2KB
FBActiveAppDetectionPoint.h 2KB
XCKeyboardInputSolver.h 2KB
XCPointerEventPath.h 2KB
XCTestLog.h 2KB
DDRange.h 2KB
XCActivityRecord.h 2KB
FBW3CActionsHelpers.h 2KB
FBTCPSocket.h 2KB
FBErrorBuilder.h 1KB
XCTestSuite.h 1KB
XCTestObservationCenter.h 1KB
FBXMLGenerationOptions.h 1KB
XCUIElement+FBUID.h 1KB
XCUIApplicationProcessDelay.h 1KB
FBPasteboard.h 1KB
FBProtocolHelpers.h 1KB
XCKeyMappingPath.h 1KB
FBMathUtils.h 1KB
FBApplication.h 1KB
XCUICoordinate.h 1KB
XCUIElement+FBForceTouch.h 1KB
共 512 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
qq_492448446
- 粉丝: 784
- 资源: 71
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功