Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FT] add find_parent/s method + TCs #236

Open
Tracked by #304
netzulo opened this issue Feb 26, 2019 · 0 comments · May be fixed by #304
Open
Tracked by #304

[FT] add find_parent/s method + TCs #236

netzulo opened this issue Feb 26, 2019 · 0 comments · May be fixed by #304
Assignees
Labels
Awaiting-PR Work In Progress at some pull request Feature New functionality proposal

Comments

@netzulo
Copy link
Owner

netzulo commented Feb 26, 2019

Expected Behavior

  • Can't find_parent from controls rightly
  • Can't find_parents from controls rightly

Current Behavior

  • Can find_parent from controls rightly
  • Can find_parents from controls rightly

Possible Solution

  • new method find_parent to use XPATH current selector with new "parent" selector
  • new method find_parents to merge current selector with new "parent" selector

parent_selector: obtain from current self.selector property
child_selector: obtain by param

parent = find_element_by_xpath("..")
parents = find_elements_by_xpath("..")
@netzulo netzulo added the Feature New functionality proposal label Feb 26, 2019
@netzulo netzulo self-assigned this Feb 9, 2020
@netzulo netzulo added the Awaiting-PR Work In Progress at some pull request label Feb 9, 2020
@netzulo netzulo linked a pull request Feb 9, 2020 that will close this issue
7 tasks
@netzulo netzulo linked a pull request Mar 15, 2020 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting-PR Work In Progress at some pull request Feature New functionality proposal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant