This pull request includes two enhancements to the web browser toolkit.
The browser extension occasionally has issues clicking on the correct element on the page while navigating a website. This pull request help address the issue by allowing goose to easily scroll through a page and click on links and buttons using the visible text content.
New functionalities:
Introduced a new method scroll_page to scroll the current page up or down using the PAGE_UP and PAGE_DOWN keys.
Added a method click_element_by_link_text to click on a page element by its visible text, with an option for exact or partial text match.
This pull request includes two enhancements to the web browser toolkit.
The browser extension occasionally has issues clicking on the correct element on the page while navigating a website. This pull request help address the issue by allowing goose to easily scroll through a page and click on links and buttons using the visible text content.
New functionalities:
scroll_page
to scroll the current page up or down using thePAGE_UP
andPAGE_DOWN
keys.click_element_by_link_text
to click on a page element by its visible text, with an option for exact or partial text match.