Skip to content
This repository has been archived by the owner on Mar 23, 2020. It is now read-only.

find_element_by_name notice err #103

Merged
merged 3 commits into from Nov 4, 2016
Merged

Conversation

marlonfan
Copy link
Contributor

@marlonfan marlonfan commented Oct 31, 2016

because webdriver discarded find_element_by_name function, i to run it notice error in ios-simple.py. but after i to using xpath get this element, it's works!

Copy link
Contributor

@jlipps jlipps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this update @marlonfan. However, instead of find_element_by_name, we should be using find_element_by_accessibility_id. It's the same as what find_element_by_name used to be. It's a better update than using xpath because xpath is more brittle. Can you change to use find_element_by_accessibility_id instead?

@jsf-clabot
Copy link

jsf-clabot commented Nov 2, 2016

CLA assistant check
All committers have signed the CLA.

@marlonfan
Copy link
Contributor Author

marlonfan commented Nov 2, 2016

@jlipps hi, i'm change find_element_by_name to find_element_by_accessibility_id. please review. thx.

RDs

@jlipps jlipps merged commit e23f03a into appium-boneyard:master Nov 4, 2016
@jlipps
Copy link
Contributor

jlipps commented Nov 4, 2016

Thanks @marlonfan!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants