Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I have to click a menu item and check whether the expected URL is loaded. When I click the menu manually, it loads in the same page. But while automating the script using selenium2. I used element.click(); But it opens in new tab

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.