Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 67b49b1

Browse files
committed
#176 Remove $Driver parameter.
This mean the active $Driver is always the one affected. You can use Switch-SeDriver to alternate between drivers.
1 parent c8a4312 commit 67b49b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+92
-1296
lines changed

‎Help/Clear-SeAlert.md‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Clear alert popup by dismissing or accepting it.
1313
## SYNTAX
1414

1515
```
16-
Clear-SeAlert [-Driver <Object>] [-Action <Object>] [-Alert <Object>] [-PassThru] [<CommonParameters>]
16+
Clear-SeAlert [-Action <Object>] [-Alert <Object>] [-PassThru] [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -61,21 +61,6 @@ Accept pipeline input: True (ByValue)
6161
Accept wildcard characters: False
6262
```
6363
64-
### -Driver
65-
Target WebDriver
66-
67-
```yaml
68-
Type: Object
69-
Parameter Sets: (All)
70-
Aliases:
71-
72-
Required: False
73-
Position: Named
74-
Default value: None
75-
Accept pipeline input: False
76-
Accept wildcard characters: False
77-
```
78-
7964
### -PassThru
8065
Return Alert object.
8166

‎Help/Get-SeCookie.md‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ List all cookies
1313
## SYNTAX
1414

1515
```
16-
Get-SeCookie [[-Driver] <Object>] [<CommonParameters>]
16+
Get-SeCookie [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -30,21 +30,6 @@ List all cookies of the default webdriver
3030

3131
## PARAMETERS
3232

33-
### -Driver
34-
Target WebDriver
35-
36-
```yaml
37-
Type: Object
38-
Parameter Sets: (All)
39-
Aliases:
40-
41-
Required: False
42-
Position: 0
43-
Default value: None
44-
Accept pipeline input: True (ByValue)
45-
Accept wildcard characters: False
46-
```
47-
4833
### CommonParameters
4934
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
5035

‎Help/Get-SeDriverTimeout.md‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Get the specified driver timeout value.
1313
## SYNTAX
1414

1515
```
16-
Get-SeDriverTimeout [[-TimeoutType] <Object>] [-Driver <IWebDriver>] [<CommonParameters>]
16+
Get-SeDriverTimeout [[-TimeoutType] <Object>] [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -37,21 +37,6 @@ Return the specified driver PageLoad timeout.
3737

3838
## PARAMETERS
3939

40-
### -Driver
41-
Target WebDriver
42-
43-
```yaml
44-
Type: IWebDriver
45-
Parameter Sets: (All)
46-
Aliases:
47-
48-
Required: False
49-
Position: Named
50-
Default value: None
51-
Accept pipeline input: True (ByValue)
52-
Accept wildcard characters: False
53-
```
54-
5540
### -TimeoutType
5641
Timeout type to be changed
5742

‎Help/Get-SeElement.md‎

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Finds all IWebElements within the current context using the given mechanism
1515

1616
### Default (Default)
1717
```
18-
Get-SeElement [-By <SeBySelector[]>] [-Value] <String[]> [[-Timeout] <Double>] [[-Driver] <IWebDriver>] [-All]
19-
[-Attributes <String[]>] [-Single] [<CommonParameters>]
18+
Get-SeElement [-By <SeBySelector[]>] [-Value] <String[]> [[-Timeout] <Double>] [-All] [-Attributes <String[]>]
19+
[-Single] [<CommonParameters>]
2020
```
2121

2222
### ByElement
@@ -116,21 +116,6 @@ Accept pipeline input: False
116116
Accept wildcard characters: False
117117
```
118118

119-
### -Driver
120-
Target WebDriver
121-
122-
```yaml
123-
Type: IWebDriver
124-
Parameter Sets: Default
125-
Aliases:
126-
127-
Required: False
128-
Position: 3
129-
Default value: None
130-
Accept pipeline input: True (ByValue)
131-
Accept wildcard characters: False
132-
```
133-
134119
### -Element
135120
Target IWebElement.
136121

‎Help/Get-SeFrame.md‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ schema: 2.0.0
1313
## SYNTAX
1414

1515
```
16-
Get-SeFrame [[-Driver] <IWebDriver>] [<CommonParameters>]
16+
Get-SeFrame [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -30,21 +30,6 @@ PS C:\> {{ Add example code here }}
3030

3131
## PARAMETERS
3232

33-
### -Driver
34-
{{ Fill Driver Description }}
35-
36-
```yaml
37-
Type: IWebDriver
38-
Parameter Sets: (All)
39-
Aliases:
40-
41-
Required: False
42-
Position: 0
43-
Default value: None
44-
Accept pipeline input: False
45-
Accept wildcard characters: False
46-
```
47-
4833
### CommonParameters
4934
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
5035

‎Help/Get-SeHtml.md‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Get outer html of the specified element or driver.
1313
## SYNTAX
1414

1515
```
16-
Get-SeHtml [[-Element] <IWebElement>] [-Inner] [[-Driver] <IWebDriver>] [<CommonParameters>]
16+
Get-SeHtml [[-Element] <IWebElement>] [-Inner] [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -39,21 +39,6 @@ Get html of the current page. Equivalent to $Driver.PageSource
3939

4040
## PARAMETERS
4141

42-
### -Driver
43-
Target WebDriver
44-
45-
```yaml
46-
Type: IWebDriver
47-
Parameter Sets: (All)
48-
Aliases:
49-
50-
Required: False
51-
Position: 1
52-
Default value: None
53-
Accept pipeline input: False
54-
Accept wildcard characters: False
55-
```
56-
5742
### -Element
5843
Target IWebElement.
5944

‎Help/Get-SeWindow.md‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gets the window handles of open browser windows
1313
## SYNTAX
1414

1515
```
16-
Get-SeWindow [[-Driver] <IWebDriver>] [<CommonParameters>]
16+
Get-SeWindow [<CommonParameters>]
1717
```
1818

1919
## DESCRIPTION
@@ -30,21 +30,6 @@ Gets the window handles of open browser windows.
3030

3131
## PARAMETERS
3232

33-
### -Driver
34-
Target WebDriver
35-
36-
```yaml
37-
Type: IWebDriver
38-
Parameter Sets: (All)
39-
Aliases:
40-
41-
Required: False
42-
Position: 0
43-
Default value: None
44-
Accept pipeline input: True (ByValue)
45-
Accept wildcard characters: False
46-
```
47-
4833
### CommonParameters
4934
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
5035

‎Help/Invoke-SeClick.md‎

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Perform a click in the browser window or specified element.
1313
## SYNTAX
1414

1515
```
16-
Invoke-SeClick [[-Action] <Object>] [[-Element] <IWebElement>] [-Sleep <Double>] [-Driver <IWebDriver>]
17-
[-PassThru] [<CommonParameters>]
16+
Invoke-SeClick [[-Action] <Object>] [[-Element] <IWebElement>] [-Sleep <Double>] [-PassThru]
17+
[<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -53,21 +53,6 @@ Accept pipeline input: False
5353
Accept wildcard characters: False
5454
```
5555
56-
### -Driver
57-
Target WebDriver
58-
59-
```yaml
60-
Type: IWebDriver
61-
Parameter Sets: (All)
62-
Aliases:
63-
64-
Required: False
65-
Position: Named
66-
Default value: None
67-
Accept pipeline input: False
68-
Accept wildcard characters: False
69-
```
70-
7156
### -Element
7257
Target IWebElement.
7358

‎Help/Invoke-SeJavascript.md‎

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ Invoke Javascript in the specified Driver.
1313
## SYNTAX
1414

1515
```
16-
Invoke-SeJavascript [[-Script] <String>] [[-ArgumentList] <Object[]>] [-Driver <IWebDriver>]
17-
[<CommonParameters>]
16+
Invoke-SeJavascript [[-Script] <String>] [[-ArgumentList] <Object[]>] [<CommonParameters>]
1817
```
1918

2019
## DESCRIPTION
@@ -46,21 +45,6 @@ Accept pipeline input: False
4645
Accept wildcard characters: False
4746
```
4847
49-
### -Driver
50-
Target WebDriver
51-
52-
```yaml
53-
Type: IWebDriver
54-
Parameter Sets: (All)
55-
Aliases:
56-
57-
Required: False
58-
Position: Named
59-
Default value: None
60-
Accept pipeline input: False
61-
Accept wildcard characters: False
62-
```
63-
6448
### -Script
6549
Javascript script to be executed. Arguments passed down can be used in the scripts through `arguments[0],arguments[1]`,etc...
6650

‎Help/Invoke-SeKeys.md‎

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Send the keys to the browser or specified element.
1414

1515
```
1616
Invoke-SeKeys [[-Element] <IWebElement>] [-Keys] <String> [-ClearFirst] [-Sleep <Double>] [-Submit] [-PassThru]
17-
[-Driver <IWebDriver>] [<CommonParameters>]
17+
[<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -47,21 +47,6 @@ Accept pipeline input: False
4747
Accept wildcard characters: False
4848
```
4949
50-
### -Driver
51-
Target WebDriver
52-
53-
```yaml
54-
Type: IWebDriver
55-
Parameter Sets: (All)
56-
Aliases:
57-
58-
Required: False
59-
Position: Named
60-
Default value: None
61-
Accept pipeline input: False
62-
Accept wildcard characters: False
63-
```
64-
6550
### -Element
6651
Target IWebElement.
6752

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /