WebDriverCommand.screenshot constructor
Constructor for WebDriverCommandType.noop screenshot.
Implementation
WebDriverCommand.screenshot(String screenshotName, [Map<String, Object?>? args])
: type = WebDriverCommandType.screenshot,
values = <String, dynamic>{
'screenshot_name': screenshotName,
if (args != null) 'args': args,
};