browser takes screenshot elements

Allows you to capture a full or partial screenshot of a specific element.


Example

Running this code will take a screenshot of the element "//*[contains(concat( " ", @class, " " ), concat( " ", "img-responsive", " " ))]", saving it as "WebDriveElement.png".

plugin command("Browser Automation.dll", "browser takes screenshot elements", "//*[contains(concat( \" \", @class, \" \" ), concat( \" \", \"img-responsive\", \" \" ))]", "{$special folder("Application")}\\WebDriveElement.png", "_", "False", "False")

Was this helpful?

Previous Article

browser takes screenshot

Next Article

browser title