T E S B O

Tesbo

Close browser’s current window

Syntax:

Step: Close window

i.e

Test: Verify close window functionality
#All #window
Step: Open Url 'http://toolsqa.com/automation-practice-switch-windows/'
Step: Scroll and Click on @NewWindow
Step: Switch to new window
Step: pause 2 sec
Step: close window
Step: pause 2 sec
End

You can find a similar example from Tesbo-Skeleton as well

Powered by BetterDocs

Leave a Comment