Today we are going to make a fullscreen screenshot at Selenium Hub using Firefox node. Check out how to fix the issue.
This article is a followup of Grammarly Integration - intended for fixing fullscreen issue - you can check there how to make a screenshot.
Full Screen Screenshot within Selenium.
There is a problem with latest versions of Firefox - and from what I've heard only FF v47.0.1 works properly.
So Let's check out how to make a fullscreen screenshot with this version!
Firefox Node and Selenium Hub.
After quick research of the topic I've found version of Selenium Hub and Firefox Node docker images that makes fullscreen possible.
Version of Node and Hub
Version of the hub and node in docker-images is
Beaware that you need to pull Hub and Node. Using Latest Hub and previous version of Firefox Node will not work.
Running Firefox Node and Hub
docker rm -f selenium-hub docker run -d -p 4444:4444 --name selenium-hub selenium/hub:2.53.1 docker rm -f selenium-node-firefox docker run -d --link selenium-hub:hub --name selenium-node-firefox -v /dev/shm:/dev/shm selenium/node-firefox:2.53.1
- Ability to take full page screenshot
- Full page screenshots with Python and Selenium
- How to take full-page screenshots with Selenium and Google Chrome in Ruby
- How to build with FF 47.0.1
- docker-selenium/NodeFirefox at master - rafaferreira/docker-selenium
- Docker-Selenium Firefox Node Hub Build for FF 47.0.1
That's it :) Comment, share or don't :)
If you have any suggestions what I should blog about in the next articles - please give me a hint :)
See you tomorrow! Cheers!