adamdriscoll/selenium-powershell

Change Select-SeDriver to Switch-SeDriver

Closed this issue · 0 comments

I was thinking of Az module when I did it but it looks like Switch would be the more approppriate verb.

Select
Locates a resource in a container. For example, the Select-String cmdlet finds text in strings and files.

Switch
Specifies an action that alternates between two resources, such as to change between two locations, responsibilities, or states.

Also, we had 2 cmdlet already with the switch verb that alternate from resource A to B

  • Switch-SeWindow
  • Switch-SeFrame

For consitency sake, either they should be all Selects or all Switch.
Based on Microsoft own doc. and disregarding Az module implementation, Switch seems indeed the correct verb here.