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 - LeHack/HowToWebDriver: This repo contains a bunch of examples on how to use WebDriver 3.x using it's Java bindings.

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
configs
configs
 
 
src
src
 
 
testsite
testsite
 
 
.classpath
.classpath
 
 
.gitignore
.gitignore
 
 
.project
.project
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

HowToWebDriver 📖

This repo contains a bunch of examples on how to use WebDriver 3.x using it's Java bindings.

To run the examples first make sure to have a test site set up:

  • cd into the "testsite" directory
  • run: python -m SimpleHTTPServer

Examples (recommended order of reading/running):

  • Start.java - how to start a Firefox instance and point it to your test site
  • FindThings.java - a bunch of methods to get different information from a website (using xpaths and CSS paths)
  • ChangeThings.java - clicking and typing
  • WaitForThings.java - fluently waiting for events on the site (also OPTION handling)
  • MoveThings.java - more advanced mouse related actions (action chaining)
  • BreakThings.java - common WebDriver exceptions handling
  • ScriptThings.java - using custom JavaScript with WebDriver
  • TestThings.java - simple TestNG integration

➡️ Note:

My company decided to release an addon I designed as open source. This addon was created to allow fetching console.log entries remotely using WebDriver 3.x (while Mozilla struggles to fix mozilla/geckodriver#284).

With my approach, you don't need to access the stdout of geckodriver (which is quite handy, when you use Selenium Grid).

See https://github.com/hurracom/WebConsoleTap

About

This repo contains a bunch of examples on how to use WebDriver 3.x using it's Java bindings.

Resources

Readme
License
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — 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.