TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Switch Between Frames In Java Using Webdriver
Abhishek Arora
Jul 12
2016
Code
603
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
Multiple frames in an web application are now a days common. So to switch in between them we can use the below code
WebElement frameElement = driver.findElement(By.id(
"frame-id"
));
driver.switchTo().frame(frameElement);
Selenim Webdriver
Selenium Automation
Frames
Frames Switching