求助-facebook-WDA遇到加载列表性的控件就会卡主,很高概率出现WDA的socket掉线
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 469
- PR merge metrics
- No merged PRs in 30d
Description
问题:比如自动化操作iOS的textfield控件,往textfield中输入key,这时候会有相应的搜索结果展示在tableview控件中,此时会导致WDA代理响应的时间特别慢,像是整个工具卡主的感觉,最后极其容易出现WDA的socket断开的现象
wda断开堆栈:
File "F:\GitLab\apprunner\venv\lib\site-packages\selenium\webdriver\remote\webelement.py", line 80, in click
self._execute(Command.CLICK_ELEMENT)
File "F:\GitLab\apprunner\venv\lib\site-packages\selenium\webdriver\remote\webelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "F:\GitLab\apprunner\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "F:\GitLab\apprunner\venv\lib\site-packages\appium\webdriver\errorhandler.py", line 31, in check_response
raise wde
File "F:\GitLab\apprunner\venv\lib\site-packages\appium\webdriver\errorhandler.py", line 26, in check_response
super().check_response(response)
File "F:\GitLab\apprunner\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to the remote server. Original error: socket hang up
@codeskyblue @zy02636 @alibaba-oss @373743261 @pengchenglin
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported selenium WebElement.click stack trace and the Appium proxy error showing a socket hang up while a table view is updating after text input. Reproduce the delayed WDA response with this textfield and tableview sequence, then identify and verify a fix that prevents the proxy connection from dropping during the command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, python
- Domain
- mobile-dev, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100