diff --git a/test001.robot b/test001.robot index 30545ee..b7d869e 100644 --- a/test001.robot +++ b/test001.robot @@ -8,8 +8,14 @@ ${RANDELEM} //section[@class='repo-item build-yes active-yes'] *** Test Cases *** TC_001 - open browser and go to url + ${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} + Open Browser ${URL} ${BROWSER} desired_capabilities=${options} Wait Until Element Is Visible ${RANDELEM} Click Element ${RANDELEM} Log Location @@ -17,4 +23,5 @@ TC_001 - open browser and go to url Capture Page Screenshot Post-conditions + Log Location Close Browser