~/talk

Smart locator strategy for React JS application using ReactWebdriver

Talkat Selenium Conf 2022 · 2022-07-29..07-30· [react, testing]
slides:none on file

ReactWebdriver is a Java utility that plugs into Selenium (Maven/Gradle) and adds a ByReact.component locator to find React components by name, props or state instead of brittle CSS/xpath. Demo finds 10 user cards and filters 3 admin users by passing user.admin=true, reads hidden data with getProps/getState from a DOM element, and supports wildcard component name matching. Library is open source, works with regular WebDriver instances, and is actively extended to other languages.

AI-written summary · about

  1. 0:00Start
  2. 2:38Challenges
  3. 3:02What Is a Real Component
  4. 5:31State
  5. 6:21Component Code
  6. 10:12Virtual Dom
  7. 10:58Reactive Tools
  8. 15:11Icons
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.