Skip to content

🐞 bug: Appium server stuck when calling to driver.page_source #50

@bwomsm1

Description

@bwomsm1

Is there an existing issue for this?

  • I have searched the existing issues

Appium Version

2.17.1

Appium Host Type

Command Line

Current Behavior

I am currently still using appium version 2.17.1, that because appium NovaWindow driver is not capable of running with the latest appium 3 version.

I am facing a problem that appium is launching successfully my windows app,
At this point I am trying to access my tested app Window by using driver.switch_to call.
In some point when I am switching between the windows and calling in each window switch to driver.page_source, the appium server is getting stuck and not responding back to driver.page_source call.

Expected Behavior

The page source of the current window should be generated and returned back.

Appium Log

https://github.com/bwomsm1/AppiumLogs/blob/master/get_page_source_stuck

Environment Details

  • Debug details (appium --show-debug-info):
  • Last component version(s) which did not exhibit the problem: it did work with appium windows driver
  • Platform and version of device under test:windows

Minimal Reproducible Example

driver.Remote
driver_.switch_to.window(window)

then the appium server is stuck on that line:
[0fff501f][NovaWindowsDriver@84c4] Calling AppiumDriver.getPageSource() with args: ["0fff501f-887a-46dd-87bd-66fcce0f821f"]

Further Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions