Created
October 14, 2022 18:09
-
-
Save joselo/23465860c2b620163247b99498462bbe to your computer and use it in GitHub Desktop.
Get the parent div of a child div with a title
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
container = find(".box-header", text: "E-Billing Information").first(:xpath, ".//..") | |
within(container) do | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment