0

I don't find Any example in Chrome> selenium IDE example I even tried the "Select window" by

  1. tab
  2. Name
  3. CloseAllOter
Asaf Shazar
  • 1,065
  • 1
  • 11
  • 33

1 Answers1

0

You should switch to the tab that you want to close and close it. Here is my example :

store window handle | root |    
click | xpath_to_link_element | 

after executing of these commands root tab is saved and new tab opens. New window settings were set like this: enter image description here

select window | handle=${userAgreement} |

This command make browser switch to a new tab.

close | userAgreement |
select window | handle=${root} |

Close new tab and switch back.