Scraperion.dll-Help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <!-- Cmdlet: Get-Image --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-Image</command:name> <command:verb>Get</command:verb> <command:noun>Image</command:noun> <maml:description> <maml:para>Retrives an image</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Retrives an image ready for use with screen scrapping cmdlets.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: PathSet --> <command:syntaxItem> <maml:name>Get-Image</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to image to load. Can be most common image formats png, bmp, jpg, etc</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: ScreenSet --> <command:syntaxItem> <maml:name>Get-Image</maml:name> <!-- Parameter: Screen --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Screen</maml:name> <maml:description> <maml:para>Use this switch to grab a screenshot of the screen.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Height --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <maml:description> <maml:para>Height of capture.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <maml:description> <maml:para>Width of capture.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: X --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinates to being capture from</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinates to being capture from</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: ImageSet --> <command:syntaxItem> <maml:name>Get-Image</maml:name> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Another image to do capture from, use X, Y, Width and Hight to select a subsection of image.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: X --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinates to being capture from</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinates to being capture from</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>Width</maml:name> <maml:description> <maml:para>Width of capture.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Height --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>Height</maml:name> <maml:description> <maml:para>Height of capture.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Path</maml:name> <maml:description> <maml:para>Path to image to load. Can be most common image formats png, bmp, jpg, etc</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Screen --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Screen</maml:name> <maml:description> <maml:para>Use this switch to grab a screenshot of the screen.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: X --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinates to being capture from</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinates to being capture from</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <maml:description> <maml:para>Width of capture.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Height --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <maml:description> <maml:para>Height of capture.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Another image to do capture from, use X, Y, Width and Hight to select a subsection of image.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Another image to do capture from, use X, Y, Width and Hight to select a subsection of image.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Select-Image --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Select-Image</command:name> <command:verb>Select</command:verb> <command:noun>Image</command:noun> <maml:description> <maml:para>Finds an image on the screen and clicks it.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Finds an image on the screen and clicks it.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: ClickSet --> <command:syntaxItem> <maml:name>Select-Image</maml:name> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image to search for on the screen.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Button</maml:name> <maml:description> <maml:para>Mouse button to use.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> <!-- Parameter: Click --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Click</maml:name> <maml:description> <maml:para>Click on target image (mouse down then mouse up).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: XOffset --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>XOffset</maml:name> <maml:description> <maml:para>Offset to click on image when found in X axis.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: YOffset --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>YOffset</maml:name> <maml:description> <maml:para>Offset to click on image when found in Y axis.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: UpSet --> <command:syntaxItem> <maml:name>Select-Image</maml:name> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image to search for on the screen.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Button</maml:name> <maml:description> <maml:para>Mouse button to use.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> <!-- Parameter: Up --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Up</maml:name> <maml:description> <maml:para>Mouse up on target.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: XOffset --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>XOffset</maml:name> <maml:description> <maml:para>Offset to click on image when found in X axis.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: YOffset --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>YOffset</maml:name> <maml:description> <maml:para>Offset to click on image when found in Y axis.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: DownSet --> <command:syntaxItem> <maml:name>Select-Image</maml:name> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image to search for on the screen.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Button</maml:name> <maml:description> <maml:para>Mouse button to use.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> <!-- Parameter: Down --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Down</maml:name> <maml:description> <maml:para>Mouse down on target.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: XOffset --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>XOffset</maml:name> <maml:description> <maml:para>Offset to click on image when found in X axis.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: YOffset --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>YOffset</maml:name> <maml:description> <maml:para>Offset to click on image when found in Y axis.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image to search for on the screen.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Button</maml:name> <maml:description> <maml:para>Mouse button to use.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> <!-- Parameter: XOffset --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>XOffset</maml:name> <maml:description> <maml:para>Offset to click on image when found in X axis.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: YOffset --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>YOffset</maml:name> <maml:description> <maml:para>Offset to click on image when found in Y axis.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Click --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Click</maml:name> <maml:description> <maml:para>Click on target image (mouse down then mouse up).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Up --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Up</maml:name> <maml:description> <maml:para>Mouse up on target.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Down --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Down</maml:name> <maml:description> <maml:para>Mouse down on target.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Image to search for on the screen.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Show-Image --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Show-Image</command:name> <command:verb>Show</command:verb> <command:noun>Image</command:noun> <maml:description> <maml:para>Shows image</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Opens a preview window for an image object. Useful for debugging.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Show-Image</maml:name> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image object to preview</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image object to preview</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Image object to preview</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Test-Image --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Test-Image</command:name> <command:verb>Test</command:verb> <command:noun>Image</command:noun> <maml:description> <maml:para>Return if target image appears on the screen or not.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Test if image appears on the screen or not.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Test-Image</maml:name> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image to test the existance of.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchInImage --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SearchInImage</maml:name> <maml:description> <maml:para>Image to search in. If left blank screen is used instead.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image to test the existance of.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchInImage --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>SearchInImage</maml:name> <maml:description> <maml:para>Image to search in. If left blank screen is used instead.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Image to test the existance of.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Wait-Image --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Wait-Image</command:name> <command:verb>Wait</command:verb> <command:noun>Image</command:noun> <maml:description> <maml:para>Wait for image to appear on screen.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Wait for image to appear on screen.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Wait-Image</maml:name> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image to wait for.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image to wait for.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Image to wait for.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: ConvertFrom-ImageToText --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>ConvertFrom-ImageToText</command:name> <command:verb>ConvertFrom</command:verb> <command:noun>ImageToText</command:noun> <maml:description> <maml:para>Converts image to Text</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Runs OCR over the image and returns the text returend.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>ConvertFrom-ImageToText</maml:name> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image to run ocr over.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Image --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Image</maml:name> <maml:description> <maml:para>Image to run ocr over.</maml:para> </maml:description> <command:parameterValue required="true">Bitmap</command:parameterValue> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Drawing.Bitmap</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Image to run ocr over.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Send-Keys --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Send-Keys</command:name> <command:verb>Send</command:verb> <command:noun>Keys</command:noun> <maml:description> <maml:para>Send keys to focused application.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Simulates key presses on target application. This uses the standard .net send keys syntax. Enter is {ENTER} etc.</maml:para> <maml:para>For more information see https://docs.microsoft.com/en-us/dotnet/framework/winforms/how-to-simulate-mouse-and-keyboard-events-in-code</maml:para> </maml:description> <command:syntax> <!-- Parameter set: TextSet --> <command:syntaxItem> <maml:name>Send-Keys</maml:name> <!-- Parameter: Text --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Text</maml:name> <maml:description> <maml:para>Text top type in .net Standard send keys syntax.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: SecureTextSet --> <command:syntaxItem> <maml:name>Send-Keys</maml:name> <!-- Parameter: SecureText --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>SecureText</maml:name> <maml:description> <maml:para>Decode a secure string and send that instead. Useful for sending passwords.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: CredentialSet --> <command:syntaxItem> <maml:name>Send-Keys</maml:name> <!-- Parameter: Credential --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Sends the contents of a PSCredential object. Will press tab between username and password.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Text --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Text</maml:name> <maml:description> <maml:para>Text top type in .net Standard send keys syntax.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecureText --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>SecureText</maml:name> <maml:description> <maml:para>Decode a secure string and send that instead. Useful for sending passwords.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Sends the contents of a PSCredential object. Will press tab between username and password.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Text top type in .net Standard send keys syntax.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Decode a secure string and send that instead. Useful for sending passwords.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Sends the contents of a PSCredential object. Will press tab between username and password.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Move-Mouse --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Move-Mouse</command:name> <command:verb>Move</command:verb> <command:noun>Mouse</command:noun> <maml:description> <maml:para>Moves the mouse on the screen.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Moves the mouse to target location on the screen.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Move-Mouse</maml:name> <!-- Parameter: X --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinate to move mouse to on screen</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinate to move mouse to on screen</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: X --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinate to move mouse to on screen</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinate to move mouse to on screen</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Send-Mouse --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Send-Mouse</command:name> <command:verb>Send</command:verb> <command:noun>Mouse</command:noun> <maml:description> <maml:para>Simulate mouse click.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Similar to send keys but for the mouse.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: ClickSet --> <command:syntaxItem> <maml:name>Send-Mouse</maml:name> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Button</maml:name> <maml:description> <maml:para>Button to simulate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> <!-- Parameter: Click --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Click</maml:name> <maml:description> <maml:para>Simulate a mouse click (mouse down then mouse up).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: UpSet --> <command:syntaxItem> <maml:name>Send-Mouse</maml:name> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Button</maml:name> <maml:description> <maml:para>Button to simulate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> <!-- Parameter: Up --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Up</maml:name> <maml:description> <maml:para>Simulates a mouse down.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: DownSet --> <command:syntaxItem> <maml:name>Send-Mouse</maml:name> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Button</maml:name> <maml:description> <maml:para>Button to simulate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> <!-- Parameter: Down --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Down</maml:name> <maml:description> <maml:para>Simulates a mouse up.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Button</maml:name> <maml:description> <maml:para>Button to simulate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> <!-- Parameter: Click --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Click</maml:name> <maml:description> <maml:para>Simulate a mouse click (mouse down then mouse up).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Up --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Up</maml:name> <maml:description> <maml:para>Simulates a mouse down.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Down --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Down</maml:name> <maml:description> <maml:para>Simulates a mouse up.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> </command:command> <!-- Cmdlet: Connect-WebScraper --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Connect-WebScraper</command:name> <command:verb>Connect</command:verb> <command:noun>WebScraper</command:noun> <maml:description> <maml:para>This cmdlet creates a WebScrapper object.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>This cmdlet creates a WebScrapper object and connects a chromium instance to it.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Connect-WebScraper</maml:name> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Url</maml:name> <maml:description> <maml:para>Initial url to connect to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Agent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Agent</maml:name> <maml:description> <maml:para>Browser agent to use when browsing pages.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36</dev:defaultValue> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Credentials to use to connect to page.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Height --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <maml:description> <maml:para>Height of web page in pixels.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>768</dev:defaultValue> </command:parameter> <!-- Parameter: ShowUI --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ShowUI</maml:name> <maml:description> <maml:para>Pass switch to show chromium browser window. Useful for debugging.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Width --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <maml:description> <maml:para>Width of web page in pixels.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1024</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Credential --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Credentials to use to connect to page.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Width --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Width</maml:name> <maml:description> <maml:para>Width of web page in pixels.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1024</dev:defaultValue> </command:parameter> <!-- Parameter: Height --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Height</maml:name> <maml:description> <maml:para>Height of web page in pixels.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>768</dev:defaultValue> </command:parameter> <!-- Parameter: Url --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Url</maml:name> <maml:description> <maml:para>Initial url to connect to.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ShowUI --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>ShowUI</maml:name> <maml:description> <maml:para>Pass switch to show chromium browser window. Useful for debugging.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Agent --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Agent</maml:name> <maml:description> <maml:para>Browser agent to use when browsing pages.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Initial url to connect to.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Disconnect-WebScraper --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Disconnect-WebScraper</command:name> <command:verb>Disconnect</command:verb> <command:noun>WebScraper</command:noun> <maml:description> <maml:para>Disconnects Web scrapper</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Disconnects from chromium and closes it.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Disconnect-WebScraper</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Instance of web scrapper to close.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Instance of web scrapper to close.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Instance of web scrapper to close.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Invoke-WebScraperExpression --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Invoke-WebScraperExpression</command:name> <command:verb>Invoke</command:verb> <command:noun>WebScraperExpression</command:noun> <maml:description> <maml:para>Invokes a javascript command</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Invokes a javascript command in the browser and returns json of what was executed.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Invoke-WebScraperExpression</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scrapper to invoke javascript on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Expression --> <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Expression</maml:name> <maml:description> <maml:para>Expression to execute.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scrapper to invoke javascript on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Expression --> <command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1"> <maml:name>Expression</maml:name> <maml:description> <maml:para>Expression to execute.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Scrapper to invoke javascript on.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Expression to execute.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Wait-WebScraperExpression --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Wait-WebScraperExpression</command:name> <command:verb>Wait</command:verb> <command:noun>WebScraperExpression</command:noun> <maml:description> <maml:para>Wait for web scrapper expression to be true.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Wait for web scrapper expression to be true.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Wait-WebScraperExpression</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper to wait on expression to be true.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Expression --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Expression</maml:name> <maml:description> <maml:para>Javascript expression to test.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper to wait on expression to be true.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Expression --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Expression</maml:name> <maml:description> <maml:para>Javascript expression to test.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Scraper to wait on expression to be true.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Select-WebScraperFocus --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Select-WebScraperFocus</command:name> <command:verb>Select</command:verb> <command:noun>WebScraperFocus</command:noun> <maml:description> <maml:para>Set element to have focus in web page.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Set element in chromium to have focus.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Select-WebScraperFocus</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper to set focus on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Target --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Target</maml:name> <maml:description> <maml:para>Target to select using javascript selector. For more info see: https://www.w3schools.com/jsref/met_document_queryselector.asp</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper to set focus on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Target --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Target</maml:name> <maml:description> <maml:para>Target to select using javascript selector. For more info see: https://www.w3schools.com/jsref/met_document_queryselector.asp</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Scraper to set focus on.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Send-WebScraperKeys --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Send-WebScraperKeys</command:name> <command:verb>Send</command:verb> <command:noun>WebScraperKeys</command:noun> <maml:description> <maml:para>Send key presses to browser.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Simulate key presses in browser window.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: TextSet --> <command:syntaxItem> <maml:name>Send-WebScraperKeys</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper object to send the key presses to.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Text --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Text</maml:name> <maml:description> <maml:para>Text to send to browser window.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: SecureTextSet --> <command:syntaxItem> <maml:name>Send-WebScraperKeys</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper object to send the key presses to.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecureText --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>SecureText</maml:name> <maml:description> <maml:para>Decode a secure string and send that instead. Useful for sending passwords.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> <!-- Parameter set: CredentialSet --> <command:syntaxItem> <maml:name>Send-WebScraperKeys</maml:name> <!-- Parameter: Credential --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Sends the contents of a PSCredential object. Will press tab between username and password.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper object to send the key presses to.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper object to send the key presses to.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Text --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Text</maml:name> <maml:description> <maml:para>Text to send to browser window.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SecureText --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>SecureText</maml:name> <maml:description> <maml:para>Decode a secure string and send that instead. Useful for sending passwords.</maml:para> </maml:description> <command:parameterValue required="true">SecureString</command:parameterValue> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Credential --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Credential</maml:name> <maml:description> <maml:para>Sends the contents of a PSCredential object. Will press tab between username and password.</maml:para> </maml:description> <command:parameterValue required="true">PSCredential</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Scraper object to send the key presses to.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Text to send to browser window.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Security.SecureString</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Decode a secure string and send that instead. Useful for sending passwords.</maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.PSCredential</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Sends the contents of a PSCredential object. Will press tab between username and password.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Move-WebScraperMouse --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Move-WebScraperMouse</command:name> <command:verb>Move</command:verb> <command:noun>WebScraperMouse</command:noun> <maml:description> <maml:para>Simulates moving the mouse to a location on the web page.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Simulates moving the mouse to a location on the web page.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Move-WebScraperMouse</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Web scrapper object to move mouse on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: X --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinate to move mouse to on page</maml:para> </maml:description> <command:parameterValue required="true">Decimal</command:parameterValue> <dev:type> <maml:name>System.Decimal</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinate to move mouse to on page</maml:para> </maml:description> <command:parameterValue required="true">Decimal</command:parameterValue> <dev:type> <maml:name>System.Decimal</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Web scrapper object to move mouse on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: X --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>X</maml:name> <maml:description> <maml:para>X coordinate to move mouse to on page</maml:para> </maml:description> <command:parameterValue required="true">Decimal</command:parameterValue> <dev:type> <maml:name>System.Decimal</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: Y --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Y</maml:name> <maml:description> <maml:para>Y coordinate to move mouse to on page</maml:para> </maml:description> <command:parameterValue required="true">Decimal</command:parameterValue> <dev:type> <maml:name>System.Decimal</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Web scrapper object to move mouse on.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Send-WebScraperMouse --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Send-WebScraperMouse</command:name> <command:verb>Send</command:verb> <command:noun>WebScraperMouse</command:noun> <maml:description> <maml:para>Sends simulated mouse or tap event to target on page.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Simulates a finger press or mouse event on target on page.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: ClickSet --> <command:syntaxItem> <maml:name>Send-WebScraperMouse</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper object to simulat event on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Click --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Click</maml:name> <maml:description> <maml:para>Simulate a mouse click (mouse down then mouse up).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Button</maml:name> <maml:description> <maml:para>Mouse button to simulate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: UpSet --> <command:syntaxItem> <maml:name>Send-WebScraperMouse</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper object to simulat event on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Up --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Up</maml:name> <maml:description> <maml:para>Simulates a mouse up event.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Button</maml:name> <maml:description> <maml:para>Mouse button to simulate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: DownSet --> <command:syntaxItem> <maml:name>Send-WebScraperMouse</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper object to simulat event on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Down --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Down</maml:name> <maml:description> <maml:para>Simulates a mouse down event.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Button</maml:name> <maml:description> <maml:para>Mouse button to simulate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> </command:syntaxItem> <!-- Parameter set: TargetSet --> <command:syntaxItem> <maml:name>Send-WebScraperMouse</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper object to simulat event on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Target --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Target</maml:name> <maml:description> <maml:para>Target to apply mouse event to. Use Target selector to specify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Button</maml:name> <maml:description> <maml:para>Mouse button to simulate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> <!-- Parameter: Tap --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Tap</maml:name> <maml:description> <maml:para>Javascript selector to select object to click on. For more details see https://www.w3schools.com/jsref/met_document_queryselector.asp</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scraper object to simulat event on.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Button --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Button</maml:name> <maml:description> <maml:para>Mouse button to simulate.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Left</dev:defaultValue> </command:parameter> <!-- Parameter: Click --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Click</maml:name> <maml:description> <maml:para>Simulate a mouse click (mouse down then mouse up).</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Up --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Up</maml:name> <maml:description> <maml:para>Simulates a mouse up event.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Down --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Down</maml:name> <maml:description> <maml:para>Simulates a mouse down event.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Target --> <command:parameter required="true" globbing="false" pipelineInput="false" position="named"> <maml:name>Target</maml:name> <maml:description> <maml:para>Target to apply mouse event to. Use Target selector to specify.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Tap --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Tap</maml:name> <maml:description> <maml:para>Javascript selector to select object to click on. For more details see https://www.w3schools.com/jsref/met_document_queryselector.asp</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Scraper object to simulat event on.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> <!-- Cmdlet: Get-WebScraperSnapshot --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-WebScraperSnapshot</command:name> <command:verb>Get</command:verb> <command:noun>WebScraperSnapshot</command:noun> <maml:description> <maml:para>Captures a screenshot of current page.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Captures a screenshot of the current page.</maml:para> </maml:description> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-WebScraperSnapshot</maml:name> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scrapper object to take screenshot from.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Path --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Path</maml:name> <maml:description> <maml:para>Optional path to store the image or pdf.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Pdf --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Pdf</maml:name> <maml:description> <maml:para>Creates a pdf of the target page instead.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Scraper --> <command:parameter required="true" globbing="false" pipelineInput="true (ByValue, ByPropertyName)" position="0"> <maml:name>Scraper</maml:name> <maml:description> <maml:para>Scrapper object to take screenshot from.</maml:para> </maml:description> <command:parameterValue required="true">WebScraper</command:parameterValue> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Pdf --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Pdf</maml:name> <maml:description> <maml:para>Creates a pdf of the target page instead.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: Path --> <command:parameter required="false" globbing="false" pipelineInput="false" position="named"> <maml:name>Path</maml:name> <maml:description> <maml:para>Optional path to store the image or pdf.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>ScraperionFramework.WebScraper</maml:name> <maml:uri /> </dev:type> <maml:description> <maml:para>Scrapper object to take screenshot from.</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues /> </command:command> </helpItems> |