- 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...
-
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...
-
Test data is necessary in testing an application, in automation the test data will be either hard-coded or provided from the external sourc...
-
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...
No comments:
Post a Comment