Skip to content

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

@netzulo

Description

@netzulo

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("..")

Metadata

Metadata

Assignees

Labels

Awaiting-PRWork In Progress at some pull requestFeatureNew functionality proposal

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions