I am trying to use selenium's new feature
WebDriver newWindow = driver.switchTo().newWindow(WindowType.WINDOW);
but some how not able to find newWindow under Target location with new selenium 4.0.0
MyAutomation Case --> We need to access video chat features and automate them. Eg. To test whether Camera, microphone chat window in video chat are working fine we need 2 users to join video call at the same time to verify internal features
Automation Step:
- Login with user and join video chat link1
- Login with another user(in same session) and join same video link
- Once two users are there in call we can verify call, video ,chat, call cancel, report call functionality
NOTE:
- Can't use 2 driver case here since on remote session this will open 2 browserstack session which is not idle for this case.
- Tried with Robot class and Actions class by emulating Cntrl+Shift+n button press but this won't work since this will press keys of my local machine(or server while executing via jenkins)
Below is my POM.xml
[