Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8174143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:22:33+00:00 2026-06-06T22:22:33+00:00

Hi I am not able to capture the screen shot using selenium webdriver .

  • 0

Hi I am not able to capture the screen shot using selenium webdriver .
I get “Unable to get window (NoSuchDriver)”.It works fine with Firefox.
I tried running on User1 then it ran well but when I switched to another User ie(User2) switching User
then I get this error

   public string TakeScreenshot(IWebDriver driver, string SnapFolderPath, string TCID,   string      KeyFunction)
    {
        ITakesScreenshot ssdriver = driver as ITakesScreenshot;
        Screenshot screenshot = ssdriver.GetScreenshot();
        string filePath = SnapFolderPath + "\\" + TCID + "_" + KeyFunction + "_" + GetDateTimeforFilePath() + ".bmp";
        screenshot.SaveAsFile(filePath, ImageFormat.Png);
        return filePath;
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:22:34+00:00Added an answer on June 6, 2026 at 10:22 pm

    Maybe it has to do with your internet settings, try this:

    Tools > Internet Options… > Security tab, Enable Protected Mode
    checkbox is at the bottom of the tab.

    Read this on https://groups.google.com/forum/?fromgroups#!topic/selenium-users/6eRU4HIXFfs

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Not able to store all binary data values into sqlite3 table using QT. For
not able to get this, can someone help for this LINQ query? select col1,
Let's say if I capture a screen shot. There is my code for it
I need to be able to identify a single window on the user's screen
I have a feeling I'm missing something really obvious, I'm not able to capture
I want to be able to capture my iPhone's screen as a video, but
This error is killing me so much. I am not able to capture this
i am not be able to detect/access my web cam using JMStudio when i
I'm using this code to capture the screen: public Bitmap CaptureWindow(IntPtr handle) { //
I'm running ffmpeg on another machine for screen capture. I'd like to be able

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.