Skip to content

Conversation

@hhslepicka
Copy link
Contributor

Fixes

  • Cleanup capabilities and options upon stop_browser.

Enhancements

  • Add wait_for_new_page, a context manager to help with operations that open a new tab or window.
  • find_element and find_elements now have waiting_time and ensure_visible parameters for enhanced experience and ease of use making it similar to the find methods for computer-vision.
  • Add wait_for_stale_element which waits until an element is modified on the DOM.
  • Add wait_for_element_visibility which waits until an element becomes visible or invisible.
  • Add new parsers module with table_to_dict which allow users to extract structured data from HTML tables into a list of dictionaries.
  • Add element_as_select to ease the handling of select elements on forms.

Documentation

  • New section Handling Data showcasing how you can easily extract data from web pages.
  • New section Interacting with Forms showcasing how to deal with select elements and file input elements.

Closes #40

- Add `wait_for_new_page`, a context manager to help with operations that open a new tab or window.
- `find_element` and `find_elements` now have `waiting_time` and `ensure_visible` parameters for enhanced experience and ease of use making it similar to the `find` methods for computer-vision.
- Add `wait_for_stale_element` which waits until an element is modified on the DOM.
- Add `wait_for_element_visibility` which waits until an element becomes visible or invisible.
- Add new `parsers` module with `table_to_dict` which allow users to extract structured data from HTML tables into a list of dictionaries.
- Add `element_as_select` to ease the handling of select elements on forms.

Documentation
- New section `Handling Data` showcasing how you can easily extract data from web pages.
- New section `Interacting with Forms` showcasing how to deal with select elements and file input elements.
@hhslepicka hhslepicka merged commit 6a10d75 into botcity-dev:main Mar 14, 2022
@hhslepicka hhslepicka deleted the fixes-and-features branch March 14, 2022 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when call browse() after stop_browser()

1 participant