Coder Social home page Coder Social logo

Comments (11)

codeskyblue avatar codeskyblue commented on August 15, 2024 1

wda没有启动,或者没跑wdaproxy

from facebook-wda.

gamesguru avatar gamesguru commented on August 15, 2024

is there a common reason people run into this at first? also facing this issue.

from facebook-wda.

gamesguru avatar gamesguru commented on August 15, 2024

I have the IntegrationApp and WebDriverAgentRunner-Runner installed. Both are running. I am not using iproxy, just a USB cable.

Interesting to note that macOS has problems with uiautomator2, can't get it to work there. No problem on Linux or Windows. But I also can't get facebook-wda python wrapper working on Linux

from facebook-wda.

codeskyblue avatar codeskyblue commented on August 15, 2024

why not using iproxy?

from facebook-wda.

gamesguru avatar gamesguru commented on August 15, 2024

is presented on the wiki as something used for WiFi and not needed with traditional USB protocol. Can we run it on Linux?

Is there a specific remote and local port pair we should use? I tried both 8100 did not work.

from facebook-wda.

gamesguru avatar gamesguru commented on August 15, 2024

getting more or less same problem on mac and Linux. Someone said to use python client with tcprelay.py -t 8100:8100. But where do I download that, or how to add through pip? Thanks.

Here's what I got on macOS

$ ssh root@localhost -p 8101
ssh_exchange_identification: Connection closed by remote host

$ iproxy 8100 8100 55adcd589527d1cafb8bab01ca1636152efdaabf
waiting for connection
accepted connection, fd = 4
Number of available devices == 1
Requesting connecion to device handle == 4 (serial: 55adcd589527d1cafb8bab01ca1636152efdaabf), port 8100
waiting for connection
Error connecting to device!

from facebook-wda.

gamesguru avatar gamesguru commented on August 15, 2024

I got it working, sort of. On Linux too. (I am using the most recent WebDriver, will try with the recommended one.) But after a while it says (for example d.home())
recv failed: Resource temporarily unavailable
and the python exception for that:

wda.WDAError: WDAError(status=13, value=Error Domain=com.facebook.WebDriverAgent
 Code=1 "Timeout waiting until SpringBoard is visible" UserInfo={NSLocalizedDesc
ription=Timeout waiting until SpringBoard is visible})

with d.status()
wda.WDAError: WDAError(status=13, value=Cannot get 'xml' source of the current a pplication)

from facebook-wda.

codeskyblue avatar codeskyblue commented on August 15, 2024

looks like wda is not working

from facebook-wda.

youran1024 avatar youran1024 commented on August 15, 2024

HTTPConnectionPool(host='localhost', port=8100): Max retries exceeded with url: /status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10cfaba20>

i receive the same error, i start wda service much times, the resoultion is to change the request defalut keep_alive value to false。 but i don't want to fix wda sdk, and how can i do?

from facebook-wda.

codeskyblue avatar codeskyblue commented on August 15, 2024

Change requests keep_alive to false ? @youran1024

from facebook-wda.

codeskyblue avatar codeskyblue commented on August 15, 2024

The issue is too old, reopen it, if it is still an issue.

from facebook-wda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.