I have a situation wherein , clicking on a link opens up a 'NEW TAB' on the browser window. I would want to switch to the new tab and continue with other actions. If anyone has worked on a similar situation before or has a suggestion ... please do help!!
Thanks in advance!
Discussion posts and replies are publicly visible
Hello MG,
Well are you using the safe link? Or on which specific action you need to open a new tab?
Could it be an option not to do it? In the user experience perspective I could think that it would be better to stay on the same screen. Maybe tell us more about your use case.
Jose
You can create your custom class in Java and code it to give the focus of the WebDriver to the new browser tab (child).
Did you come up with a solution for this issue?
Good afternoon, I have the same problem. How did you manage to change tabs?Can anyone share the Java code and help where it should be placed and mentioned?
Thanks.
Hey DaniHG, I know this is a late reply but can you expand on this? I know how to use Java and Selenium to give the focus on the new tab but don't know how to port it to FitNesse for Appian. I've tried saving it as JAR file in the "/lib" folder but run into the "could not find class" error.