Releases: MarketSquare/robotframework-browser
v0.7.0
New keywords:
New Browser,New ContextandNew Pageto create playwright objects representing multiple browser instances, browser profiles (contexts) or tabs (pages)Switch ContextandSwitch Pageto switch between open pagesSwitch Browserhas been added but is unreliable and not recommended for use yet
Get Element Count- gets amount of elements matchingselectorand supports assertion syntax
Other features:
- >>> selector syntax for piercing frames
- Better error messages
v0.6.0
New keywords:
- Select Options and Deselect Options (Keywords to manipulate <select> element options)
- Wait For Elements State
- Execute Javascript On Page
- Get Page State
The two latter keywords were created to help with frontend JS integration. We will be adding more syntactic sugar and documentation in the near future.
v0.5.0
New Features:
-
Split keywords between
Type TextAndFill Text. Type text inputs single keypress events (including keyup / keydowns). Fill inputs the text in a single events, like pasting it would. -
Press Keyskeyword to input series of keypresses (supports Keycodes like ArrowLeft or BackSpace) -
Clear Textkeyword that clears a textfield -
Focuskeyword to focus an element -
Click With Optionskeyword to click with different mouse keys and passing other options. See keyword docs for more details. -
Add Style Tagkeyword to manipulate page CSS -
Go BackandGo Forwardkeywords to use browser's back and forward features -
Set Timeoutand setting of timeout at library import time. This affects mostly input and getter keywords -
Option to pass
assertion_operatorandassertion_expectedas parameters to getter keywords to execute assertion- Deleted older
Text Should Bestyle keywords in favor ofGet Text equals contentsyntax
- Deleted older
-
Option to disable headlessness through
headlessargument to keywordOpen Browser(defaults to false)
v0.3.0
Release 0.2.2
Release adds:
- New keywords for checkboxes, page URLs and screenshots
- Automatic failure screenshots
- Improved CI coverage for our pip package installation