Skip to content

v0.9.0

Compare
Choose a tag to compare
@xylix xylix released this 22 Jul 12:14

New keywords:

  • http
    • executes fetch with page.evaluate
    • support all common HTTP methods, GET, POST, PUT, PATCH, DELETE and HEAD
    • if request body can be converted to JSON, it will automatically add content-type header
    • if response body can be converted to JSON, it will be returned as a Python dict.
  • Get Style (supports assertions)
  • Get Element (returns an element handle that can be used as a selector)

Other improvements:

  • Renamed Create _ keywords to New _
  • Improved python use (added script to generate static type stubs