If you want to use WD, here a way that is working for me :
Local $sElem = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//div[@id='line1']")
Local $vScreen = _WD_Screenshot($sSession, $sElem, 2)
_GDIPlus_Startup()
Local $hBit = _GDIPlus_BitmapCreateFromMemory($vScreen)
_GDIPlus_ImageSaveToFile($hBit, "Element.bmp")
_GDIPlus_ImageDispose($hBit)
_GDIPlus_Shutdown()
Local $hHbit = _WinAPI_LoadImage(0, "Element.bmp", $IMAGE_BITMAP, 0, 0, $LR_LOADFROMFILE)
_ClipBoard_Open("")
_ClipBoard_Empty()
_ClipBoard_SetDataEx($hHbit, $CF_BITMAP)
_ClipBoard_Close()
_WinAPI_DeleteObject($hHbit)
I do not know why creating HBitmap format from GDI+ is not compatible with _ClipBoard. This is the reason I needed to go thru a file to make it worked.