- In Selenium 2, TakesScreenshot interface used to capture the screenshots. But the screen shot capturing area varies between Firefox and other browsers (Chrome, IE and etc.)
- In Selenium 2, TakesScreenshot captures only visible area as the screenshot for Chrome, IE, Safari and etc. but for Firefox it captures entire page as screenshot (including the invisible page area) because the Selenium 2 supports Firefox as default browser.
- From Selenium 3, the default support to Firefox browser is removed and made it external. We need to use geckodriver to lunch Firefox browser.
- Due to the above change, TakesScreenshot can capture only visible area as the screenshot in any browser Firefox, Chrome, IE and etc.
Saturday, July 29, 2017
Important notes about Screenshots in Selenium 2 and Selenium 3
Subscribe to:
Post Comments (Atom)
DevOps 01: What is DevOps and How it benefits organizations?
DevOps is a culture in an organization, where the development team and operations team help each other by sharing information, process and t...
-
POST is a http method, it is used for creating the new resources on the server. In particular, it is used for creating the subordinate reso...
-
With the help of Robot class we can Zoom In or Zoom Out the browsers in Selenium Automation. We need to press CNTRL+ADD (symbol '+'...
-
A new method newWindow() is introduced in Selenium 4 (Alpha). Using this method we can open a new tab or new window from the current window...
No comments:
Post a Comment