public PageSnapshot highlight ( WebElement element ) { try { highlight ( element , Color . red , 3 ) ; } catch ( RasterFormatException rfe ) { throw new ElementOutsideViewportException ( ELEMENT_OUT_OF_VIEWPORT_EX_MESSAGE , rfe ) ; } return this ; }
Highlights WebElement within the page with Color . red and line width 3 .