Skip to content

How to handle drop down elements #57

@JLogan3o13

Description

@JLogan3o13

Can you please document a consistent way to handle drop down menus? It is not possible to do a Find-SEElement on a drop down and then use Send-SEKeys, as the field will come back as "not interactable"

In other languages' implementation of Selenium, I can do something like this:

select = Select(driver.find_element_by_id('UserDropDown')) select.select_by_visible_text('Joe_Smith')

But I have been unable to get the syntax right in PowerShell. I see a LOT of threads on SO and other sites asking for this kind of info, so a solid example of implementing this would be awesome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions