# Unable to locate an element with latest appium python client version

**URL:** <https://forum.robotframework.org/t/unable-to-locate-an-element-with-latest-appium-python-client-version/4848>\
**Category:** Robot Framework\
**Created:** [20 October 2022 10:36 UTC](https://forum.robotframework.org/t/unable-to-locate-an-element-with-latest-appium-python-client-version/4848 "2022-10-20T10:36:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lavanya](https://avatars.discourse-cdn.com/v4/letter/l/df788c/32.png) [@lavanya](https://forum.robotframework.org/u/lavanya)\
**Post date:** [20 October 2022 10:36 UTC](https://forum.robotframework.org/t/unable-to-locate-an-element-with-latest-appium-python-client-version/4848/1 "2022-10-20T10:36:19Z")

</div>

Hi Team,  
I am working on automating the IOS and Android mobile apps using **Appium, and Robot Framework.**  
Recently I have upgraded the Robotframework version 5, Appium Python Client version 2.7.0, and selenium version 4.2.0.  
After upgrading the version to the latest ones observing this issue when I trigger any script: **AttributeError: ‘WebDriver’ object has no attribute ‘find\_elements\_by\_accessibility\_id’**

Here is the locator I am using:  
${sign\_in} accessibility\_id=Sign In Button

I also tried writing the locator in the below formats but didn’t work.

${sign\_in} AppiumBy.accessibility\_id=Sign In Button  
${sign\_in} By.accessibility\_id=Sign In Button

At present, I am calling AppiumLibrary in my code. below are the libraries i am using:  
Library OperatingSystem  
Library RequestsLibrary  
Library JSONLibrary  
Library Collections  
Library AppiumLibrary  
Library DateTime  
Library String  
If I need to install any other libraries let me know.

I think “find\_elements\_by\_accessibility\_id” is deprecated.

Note: Working fine with old versions I mean Robotframework version 5, Appium Python Client version 2.4.0, and selenium version 4.2.0.

Could someone help me on resolving this issue?  
Could you help me in writing the locator exactly in Robot Framework?
