In selenium 4, which of the following method allows us to take a screenshot of a specific web element?

53. In selenium 4, which of the following method allows us to take a screenshot of a specific web element?

  1. GetScreenshot ()
  2. getScreenshotAs ()
  3. ScreenshotAs ()

Answer: B) getScreenshotAs ()

Explanation:

getScreenshotAs () allows us to take a screenshot of a specific web element.


Comments and Discussions!









Copyright © 2023 www.includehelp.com. All rights reserved.