Skip to content

Releases: stevepryde/thirtyfour

v0.28.1

24 Jan 11:54

Choose a tag to compare

  • Fix lifetime on return value of ElementQuery::first_opt()

v0.28.0

29 Dec 00:04

Choose a tag to compare

Major refactor to improve ease of maintenance

  • Move the session to an async task, using channels.
  • Remove WebDriverCommands trait, and add methods directly to SessionHandle. This also makes docs far more readable.
  • Store SessionHandle in WebDriver directly and remove GenericWebDriver. WebDriver is no longer generic.
  • Pass a reference to SessionHandle to all elements and other structs that make use of the session. This prevents use of elements after the browser is closed (at compile time).
  • Simplify ElementQuery slightly (removed single selector option).
  • Move all session handling to the session module.
  • Update dependency versions.

v0.27.3

07 Nov 05:16

Choose a tag to compare

  • Add select_by_xpath_condition() to SelectElement
  • Add select_by_exact_text() to SelectElement
  • Add select_by_partial_text() to SelectElement
  • Add deselect_* variants for all of the above

v0.27.2

11 Oct 01:45

Choose a tag to compare

  • Add WebDriverCommands::in_new_tab() for running a closure in a new tab and the closing the tab afterwards (thanks @bcpeinhardt for the suggestion and base implementation)

v0.27.1

10 Oct 07:29

Choose a tag to compare

  • Add more functionality to ChromeCapabilities, including the ability to add extensions, set the Chrome binary, and ignore certificate errors

v0.27.0

06 Aug 11:43

Choose a tag to compare

  • Added first_opt() (thanks @audioXD)
  • Set 120 second timeout by default
  • Document potential webdriver hang if incorrect capabilities struct used

v0.26.0

07 Jul 07:19

Choose a tag to compare

  • Add FirefoxPreferences (thanks @audioXD)
  • Add example using FirefoxPreferences

v0.25.1

14 Jun 04:24

Choose a tag to compare

  • Add documentation on the need to call WebDriver::quit()

v0.25.0

13 Jun 11:00

Choose a tag to compare

  • Remove support for automatically closing the browser window on Drop (See issue #7)
  • Add ElementQuery and ElementWaiter, including adding the trait imports to the prelude
  • Set default implicit wait to 0, to support ElementQuery and ElementWaiter
  • Set default ElementPoller to poll for up to 20 seconds, at 500 millisecond intervals
  • Update documentation
  • WebDriverSession now uses Arc<Mutex<...>> for the HTTP client rather than spawning an async task

v0.24.2

25 May 09:22

Choose a tag to compare

  • Fix name of old sessionId field (thanks @morenol)