GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - nicegraham/SeleniumScreenSnapper: Screenshots with WebElement highlighting and thumbnails

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
images
images
 
 
src/main/java/org/seleniumscreensnapper
src/main/java/org/seleniumscreensnapper
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Takes screenshots of the browser and highlights WebElements.

You can highlight a single weblement in the browser or a bunch of them.

driver.get("http://www.google.com");
WebElement searchbox = driver.findElement(By.name("q"));
screenSnapper.screenshot(searchbox);

Screenshot:

Searchbox highlighted

thumbnail:

Searchbox thumbnail

searchbox.sendKeys("cheese");
WebElement searchButton = wait.until(visibilityOfElementLocated(By.name("btnG")));
searchButton.click();
wait.until(visibilityOfElementLocated(By.className("navend")));
List<WebElement> results = driver.findElements(By.className("g"));
screenSnapper.screenshot(results);

Screenshot:

results highlighted

thumbnail 1:

result 1 thumbnail

thumbnail 2:

result 2 thumbnail etc.

About

Screenshots with WebElement highlighting and thumbnails

Resources

Readme
Activity

Stars

24 stars

Watchers

6 watching

Forks

7 forks
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.