adamdriscoll/selenium-powershell

Get-SeInput

Closed this issue · 0 comments

A simple wrapper around Get-Seelement to get input with specific parameters to it such as
Type, placeholder, text to filter it down.

It would also return its own view so that instead of this :

image

you get this and additional virtual properties, namely, Type and Placeholder, which will allow for a better "in-console" experience when creating the test.

I'm also thinking about having other common ones, like Get-SeLink, Get-SeImage with custom views too.
For instance, I'd like to get the href value of a link in the console view and the alt text of an image there to allow better "in-console" experience.

Ultimately, I could implement it in get-seelement to apply these views when it is detected only one element type is returned (For instance, if the user do an explicit Get-SeElement -By Tagname -Value input