This repository has been archived on 2022-05-04. You can view files and clone it, but cannot push or open issues or pull requests.
tso-sw/test01.robot
surtur 86492f3b64
Some checks failed
continuous-integration/drone/push Build is failing
added test01 + tar+zstd only the relevant folder
* i.e. cd there, do magic, get back
2020-05-11 04:52:27 +02:00

26 lines
819 B
Plaintext

*** Settings ***
Library SeleniumLibrary run_on_failure=Nothing
*** Variables ***
${URL} https://git.dotya.ml/
${BROWSER} chrome
*** Test Cases ***
Headless Chrome - Open Browser
${chrome_options} = Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
Call Method ${chrome_options} add_argument headless
Call Method ${chrome_options} add_argument no-sandbox
Call Method ${chrome_options} add_argument disable-dev-shm-usage
${options}= Call Method ${chrome_options} to_capabilities
Set Selenium Speed 0.2
Open Browser ${URL} browser=${BROWSER} desired_capabilities=${options}
Maximize Browser Window
Capture Page Screenshot
Post-conditions
Log Location
Sleep 1
Close Browser