what are the Dynamic elements in web Application?
Answer Posted / sehgalkhyati@gmail.com
Use these methods
Relative XPath with Starting Text
XPath: //button[starts-with(@id, 'tag-')]
Relative XPath with Text Contains
XPath: //input[contains(@class, '-test-')].
Element with Index
driver.findElements(By.xpath(“//*button”)).get(0).click();
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
List some of the operating systems that are supported by selenium webdriver.
What is the difference between MaxSessions vs. Selenium grid MaxInstances properties?
What are the important selenium ide commands or selenese commands?
what are challenges you faced in your last project?
What is the purpose of creating a reference variable- ‘driver’ of type
List major difference between protractor vs selenium?
What is pom (page object model)? What are its advantages?
Explain how can you find broken links in a page using selenium webdriver?
Which selenium command(s) simulates selecting a link?
How will u write page object models and data driven model.
What regular expression special character(s) means "any character?"
What is the architecture of selenium rc?
How to find whether an element is displayed on the web page?
How to clear the text in the text box using selenium webdriver?
Mention why do you need session handling while working with selenium?