openatx / facebook-wda

Facebook WebDriverAgent Python Client Library (not official)
MIT License
1.73k stars 267 forks source link

希望可以对flutter应用ValueKey方法支持 #156

Open Sanmejie opened 2 months ago

Sanmejie commented 2 months ago

希望可以支持下flutter应用ValueKey方法

Appium Flutter Driver:https://github.com/appium/appium-flutter-driver/blob/main/finder/python/appium_flutter_finder/flutter_finder.py#L54

def test_login(self) -> None: el = self.driver.find_element(by='key', value='authentication_sign_in_with_email_btn') el.click()

exculibar commented 2 months ago

Seems debends the appium flutter driver

Sanmejie commented 1 month ago

Seems debends the appium flutter driver

The current Appium Flutter Driver is built on top of the flutter_test SDK, which is deprecated. The potential deprecation (https://github.com/flutter/flutter/issues/139249) means this driver may not work with future Flutter updates. It also does not handle all cases, such as permission dialog handling.

recommend https://github.com/AppiumTestDistribution/appium-flutter-integration-driver But this driver is too new and supports fewer methods