The screencapture options are wrong.
"Select a window using your mouse, then capture its contents without the window’s drop shadow and copy the image to the clipboard:
$ screencapture -c W"
-c captures the cursor, W is not an option. The real command for this is: $ screencapture -C -o