Skip to content

Working with nested iframes in CDP mode #3528

@julesmcrt

Description

@julesmcrt

I know that in CDP mode, we are expected to use the following methods:

sb.cdp.nested_click(parent_selector, selector)
sb.cdp.get_nested_element(parent_selector, selector)

However, what's the expected way of handling nested frames in CDP mode?

  1. I did not manage to perform a switch_to_frame method when using a CDP drivers.
  2. There is no find_elements or get_nested_element methods for type seleniumbase.undetected.cdp_driver.element.Element.

Is there a workaround? Did I miss something? Or is it something to be implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModequestionSomeone is looking for answersworkaround existsYou can reach your destination if you do this...

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions