On 12/16/2013 1:06 AM, Vardhan wrote:
> So one question popped up in my mind is:
>
> Q: Can't we make two instances of a single web browser, one for hovering and other for taking the
> screenshot?
You can, but it won't help. The screenshot that WebDriver gets from the browser is of the rendered
DOM. It doesn't include other UI decorations, such as the window, toolbar, menus, etc. It's
possible the tooltip is implemented by the browser as a separate independent window, much like a
javascript dialog, which also does not appear in the screenshots. It is also possible that this
result will be different in another browser, since it could implement tooltip rendering differently.
--
------------------------------------------------------------------------ -
Chris Merrill | Web Performance, Inc.
ch...@webperformance.com |
http://webperformance.com
919-433-1762 |
919-845-7601
Web Performance: Website Load Testing Software & Services
------------------------------------------------------------------------ -