-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things betterMaking things better
Description
Add get_parent() to various APIs (eg: The CDP API)
For the CDP API, calling element.parent does not add in the SB CDP methods to the parent method received. So instead, I'll create a CDP_Element.get_parent() method to retrieve the parent element and add in the CDP API methods into there. The SB CDP API will also get it via sb.cdp.get_parent(element).
Also, I'll add get_parent() to the driver API and to the SB API. (Note that get_parent() won't be added to the WebElement API, which is separate, and exists within Selenium, rather than within SeleniumBase.)
Metadata
Metadata
Assignees
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things betterMaking things better