Skip to content

Add CDP Mode methods for handling <input> Sliders and <select> Dropdowns #3264

@mdmintz

Description

@mdmintz

Add CDP Mode methods for handling <input> Sliders and <select> Dropdowns


Specifically, I want to handle these:

Screenshot

These methods should be added into the API:

sb.cdp.set_value(selector, text)

sb.cdp.select_option_by_text(dropdown_selector, option)

Eg:

sb.cdp.set_value("input#mySlider", "100")

sb.cdp.select_option_by_text("#mySelect", "Set to 75%")

Metadata

Metadata

Assignees

Labels

UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things better

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions