How to open a new window after click on a button?
I'm searching for something like that: driver.find_element_by_css_selector('description').click_new_window()
I've tried to look at questions here on SO but nothing helped.
The point is that I want to click on a button which would open in new window because I want to save the old window with state so I can continue after look at new window.
EDIT:
HTML code of the button:
`<a href="javascript:void(0)" class="centerfloatelement nextbutton" ng-click="gotoReservation(xflight.hash + '-' + tripPair.realIndex, $parent.$index, $index, $event);"><span class="ng-binding">ġalej</span><i class="icon right">></i></a>`
Do you have any advices?