Skip to content

v3.4.0 — Locator.rows(), Selenium Java 4.49.0

Choose a tag to compare

@shossain786 shossain786 released this 19 Sep 04:16
· 134 commits to master since this release
b8d80f5
  • Locator.rows() — resolves a locator to a <table> and returns its data rows as header-keyed maps (List<Map<String, String>>), one map per row, keyed by column header. Headers are taken from the first <thead> row with <th> cells, falling back to the first <tr> anywhere with <th> cells, then the first <tr>'s <td> cells; whichever row supplies headers is never returned as data. Short rows are padded with "", extra cells are dropped, and <th>-only rows (group headings) are skipped. Contributed by @timothytkim. (#54)
  • Bootstrap failures now expose their root cause — when framework initialization throws, SuiteExecutionListener now logs the full cause chain (Caused by: ..., walked to the root) to System.err before rethrowing, so the actual failure reason is visible in normal Maven/TestNG/Surefire output instead of being buried one level down in the wrapping IllegalStateException. (Fixes #45)
  • Selenium Java bumped 4.40.0 → 4.49.0 (9 releases). This is a behavior-preserving internal upgrade: NetworkMock and DeviceEmulator are repointed from the now-removed CDP devtools.v144 module to devtools.v153 (the newer of the two bundled with 4.49.0), and two new trailing Optional.empty() arguments were added to Emulation.setDeviceMetricsOverride() calls to match v153's changed signature, preserving the existing defaults. Verified with the full 508-test suite.
  • Docs — the README and getting-started quickstarts now show the locator API ($(...)) instead of getDriver() for the first example, and the getting-started example is runnable as written. (#40, #44)
  • Routine dependency bumps: snakeyaml 2.7, poi-ooxml 5.5.1, maven-jar-plugin 3.5.1, maven-source-plugin 3.4.0, plus CI action bumps.

Full diff: v3.3.0...v3.4.0