Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which attribute you should consider throughout the script in frame for “if no frame Id as well as no frame name”?
Home
Selenium
Which attribute you should consider throughout the script in frame for “if no frame Id as well as...
0
votes
asked
Aug 19, 2019
in
Selenium
by
rahulsharma
Which attribute you should consider throughout the script in frame for “if no frame Id as well as no frame name”?
#selenium-for-load-testing
selenium-bot-detection
selenium-for-ios
ios-selenium
automated-visual-testing-
selenium
load-testing-selenium
python-selenium
selenium-online-training-videos
learning-selenium
-syllabus
selenium-tools-for-testing
selenium-element
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 20, 2019
by
john ganales
You can use…..driver.findElements(By.xpath(“//iframe”))….
This will return list of frames.
You will ned to switch to each and every frame and search for locator which we want.
Then break the loop
...