TestCase: Right on element and in NEW or NEW WINDOW.

I could able to right on the element using the below code . BUT NOT SURE HOW TO SELECT THE OPTION OF “OPEN Link in NEW TAB “

TRIED:

    browser.actions().mouseMove(rightClickEle).perform();
    browser.actions().click(.Button.RIGHT).perform();

Any Help. Thanks in Advance.



Source link https://sqa.stackexchange.com/questions/34674/protractor-right-click-on-link-and-open-in-new-tab

LEAVE A REPLY

Please enter your comment!
Please enter your name here