You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following is a list of available functions in Monocle:
72
74
75
+
* Add-MonocleElementClass
73
76
* Assert-MonocleBodyValue
74
77
* Assert-MonocleElementValue
75
78
* Clear-MonocleElementValue
@@ -78,19 +81,27 @@ The following is a list of available functions in Monocle:
78
81
* Get-Monocle2FACode
79
82
* Get-MonocleElement
80
83
* Get-MonocleElementAttribute
84
+
* Get-MonocleElementCSS
81
85
* Get-MonocleElementValue
82
86
* Get-MonocleHtml
87
+
* Get-MonoclePageSize
83
88
* Get-MonocleTimeout
84
89
* Get-MonocleUrl
90
+
* Install-MonocleDriver
85
91
* Invoke-MonocleElementCheck
86
92
* Invoke-MonocleElementClick
87
93
* Invoke-MonocleJavaScript
88
94
* Invoke-MonocleRetryScript
89
95
* Invoke-MonocleScreenshot
96
+
* Measure-MonocleElement
97
+
* Move-MonoclePage
90
98
* New-MonocleBrowser
99
+
* Remove-MonocleElementClass
100
+
* Remove-MonocleElementCSS
91
101
* Restart-MonocleBrowser
92
102
* Save-MonocleImage
93
103
* Set-MonocleElementAttribute
104
+
* Set-MonocleElementCSS
94
105
* Set-MonocleElementValue
95
106
* Set-MonocleTimeout
96
107
* Set-MonocleUrl
@@ -99,11 +110,25 @@ The following is a list of available functions in Monocle:
99
110
* Submit-MonocleForm
100
111
* Test-MonocleElement
101
112
* Test-MonocleElementAttribute
113
+
* Test-MonocleElementChecked
114
+
* Test-MonocleElementClass
115
+
* Test-MonocleElementCSS
116
+
* Test-MonocleElementVisible
102
117
* Wait-MonocleElement
103
118
* Wait-MonocleUrl
104
119
* Wait-MonocleUrlDifferent
105
120
* Wait-MonocleValue
106
121
122
+
### Custom Drivers
123
+
124
+
If you need to use an earlier/later version of a driver, you manually download the driver and then supply a `-Path` to `New-MonocleBrowser` which is the directory that contains the driver.
Also, you could use `Install-MonocleDriver`. This will download a driver for you, and be automatically used by Monocle. This does require the `nuget` CLI being installed.
131
+
107
132
### Screenshots
108
133
109
134
There are two main ways to take a screenshot of the browser. The first it to tell Monocle to automatically take a screenshot whenever a flow fails. You can do this by using the `-ScreenshotPath` and `-ScreenshotOnFail` parameters on the `Start-MonocleFlow` function:
0 commit comments