*** Settings ***
Library SeleniumLibrary
Library SeleniumScreenshots
Suite teardown Close all browsers
*** Keywords ***
Open url
[Arguments] ${url}
Open browser ${url} browser=headlessfirefox
Set window size 800 600
*** Test Cases ***
Show the new Robot Framework logo
Open url https://twitter.com/robotframework
Page should contain Robot Framework
Capture and crop page screenshot robotframework.png
... css=.ProfileAvatar-image
Log | Report -links are javascript-links and require you to Trust notebook from Notebook or Lab user interface.
*** Test Cases ***
Show Plone logo
Open url https://plone.org
Page should contain element css=.navbar-brand
Capture and crop page screenshot plone.png
... css=.navbar-brand
*** Test Cases ***
Demonstrate failing test
Open url https://plone.org
Page should contain Hello World!
============================================================================== Jupyter ============================================================================== Demonstrate failing test | FAIL | Page should have contained text 'Hello World!' but did not. ------------------------------------------------------------------------------ Jupyter | FAIL | 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed ============================================================================== Output: /run/user/1000/tmpw8agwl6g/output.xml