Added option for responsiveSnapshotCapture. when this option is passed as true, we will capture dom in all widths returned by CLI.
resize browser window using set_window_size for selenium 3 or non chrome browsers else using cdp to resize window. reason: in chrome we can only resize window upto 500px so to bypass this we are using cdp but running cdp command in selenium 3 is not supported.