Cross platform support for Python client?

Hi all,

I was wondering if there is anything like this for Python:

@AndroidFindBy(id = “signup_button”)
@iOSFindBy(xpath = “//UIAButton[1]”)
MobileElement signUpButton;

I’m developing tests in Python which should run on iOS and Android and I was thinking what is the best way to accomplish this.

I’ve really liked tutorial created by SauceLabs https://help.testobject.com/docs/guides/appium-cross-platform-automation/ , looks like a good strategy to support automating for both platforms without duplicating code.

Hi, did you ever find a solution to this? I’ve been playing around with trying to make a PageObjectFactory but it isn’t working out.