{"repo":"openatx/facebook-wda","free":true,"listed":false,"github":"https://github.com/openatx/facebook-wda","clone":"git clone https://github.com/openatx/facebook-wda.git","description":"Facebook WebDriverAgent Python Client Library (not official)","language":"Python","stars":1877,"topics":["wda","python","webdriveragent"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"python-wda Facebook WebDriverAgent Python Client Library (not official) Implemented apis describe in Most functions finished. Since facebook/WebDriverAgent has been archived. Recommend use the forked WDA: https://github.com/appium/WebDriverAgent Tested with: Alternatives - gwda (Golang): https://github.com/ElectricBubble/gwda Installation 1. You need to start WebDriverAgent by yourself New There is a new tool, which can start WDA without xcodebuild, even you can run in Linux and Windows. See: Or Follow the instructions in It is better to start with Xcode to prevent CodeSign issues. But it is also ok to start WDA with command line. WDA在真机上运行需要一些配置，可以参考这篇文章 ATX 文档 - iOS 真机如何安装 WebDriverAgent 配置完之后运行下面的命令即可（需要用到Mac的密码，以及设备的UDID） 2. Install python wda client TCP connection over USB (optional) You can use wifi network, it is very convinient, but not very stable enough. I found a tools named iproxy which can forward device port to localhost, it\\'s source code is here The usage is very simple iproxy [udid] For more information see SSH Over USB Something you need to know function window size() return UIKit size, While screenshot() image size is Native Resolution when use screenshot , the image size is pixels size. eg( 1080 x 1920 ) But this size is different with c.window size() use session.scale to get UIKit scale factor Configuration How to use Create a client A wda.WDAError will be raised if communite with WDA went wrong. Experiment feature : create through usbmuxd without iproxy ","default_branch":null,"files":null,"tree":[],"storefront":"/r/openatx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/openatx/facebook-wda/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}