-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve takeScreenshot performance in ie driver.
IsSameColor method could take a lot of time, especially for pages with solid background (like login or search forms, where only several elements exists on the page). This becomes even worse if IEDriverServer runs several sessions in parallel. This happens beacause of GetPixel method calls winapi each time it is called. So we get rid of it and use already captured bytes to check screenshot. Signed-off-by: Jim Evans <[email protected]>
- Loading branch information
Showing
1 changed file
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters