This commit is contained in:
parent
ad61ab15ea
commit
d035299984
@ -8,8 +8,14 @@ ${RANDELEM} //section[@class='repo-item build-yes active-yes']
|
|||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
TC_001 - open browser and go to url
|
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
|
Set Selenium Speed 0.2
|
||||||
Open Browser ${URL} ${BROWSER}
|
Open Browser ${URL} ${BROWSER} desired_capabilities=${options}
|
||||||
Wait Until Element Is Visible ${RANDELEM}
|
Wait Until Element Is Visible ${RANDELEM}
|
||||||
Click Element ${RANDELEM}
|
Click Element ${RANDELEM}
|
||||||
Log Location
|
Log Location
|
||||||
@ -17,4 +23,5 @@ TC_001 - open browser and go to url
|
|||||||
Capture Page Screenshot
|
Capture Page Screenshot
|
||||||
|
|
||||||
Post-conditions
|
Post-conditions
|
||||||
|
Log Location
|
||||||
Close Browser
|
Close Browser
|
||||||
|
Loading…
Reference in New Issue
Block a user