!!

Welcome to Selenium Webdriver Forum

As a web user you can read and search through forum content. Once you have registered and signed you can post topics, post replies, set up watch lists, modify forum settings, and use private messaging.

Author Topic: Screenshot taken using in 32-bit IEDriverServer is truncated but not in 64 bit  (Read 367 times)

Offline lordrayden

  • Selenium User
  • *
  • Posts: 25
Hi Everyone,

Is there any of you who encountered the same issue that I am currently facing? In the screenshot, you will notice that the one taken using the 32-bit version is truncated while the 64-bit version is not. I am using the latest drivers.

Below is the screenshot code:

Code: [Select]
Screenshot screenShot = ((ITakesScreenshot)webDriverList[index - 1]).GetScreenshot();

string tempScreenshotFileName = Path.GetTempFileName();

screenShot.SaveAsFile(tempScreenshotFileName, System.Drawing.Imaging.ImageFormat.Png);

I don't see anything wrong with my code as it works already in Chrome and Firefox.

By the way, we prefer using the 32-bit version because SendKeys in the 64-bit version is way too slow.

I'll appreciate any help that you can extend.

Thanks!!!

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1079 Views
Last post March 27, 2012, 09:27:14 PM
by Simon Stewart
1 Replies
804 Views
Last post April 10, 2012, 11:22:57 PM
by SeleniuMaddog
3 Replies
5840 Views
Last post January 16, 2014, 04:33:23 AM
by Murthi
0 Replies
1866 Views
Last post November 08, 2012, 01:10:02 PM
by SeleniumWebdriver Admin
4 Replies
773 Views
Last post March 19, 2013, 03:09:47 AM
by shivav09
0 Replies
450 Views
Last post July 23, 2013, 05:18:41 AM
by lagartija
0 Replies
129 Views
Last post March 26, 2014, 07:25:34 AM
by Maeva