Question
Explain what is the difference between find elements () and find element ()

Answers

find element ():
It finds the first element within the current page using the given “locating mechanism”. It returns a single WebElement

findElements () :
Using the given “locating mechanism” find all the elements within the current page. It returns a list of web elements.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q What is potentiometer?
  • Q Who wrote the Novel ' The Adventures of Tom Sawyer'?
  • Q Write an essay on biofuel technology.
  • Q Rig Veda amongst it's 1028 hymnas mentions the cultivation of yava, What do we popularly call it in English?
  • Q Which was the first state to enact an employment guarantee act in the 1970s?
  • Q What is difference utp in testing ?
  • Q What will happen when you attempt to compile and run the following code?. 1) It will compile and the run method will print out the increasing value of i. 2) It will compile and calling start will print out the increasing value of i. 3) The code will cause an error at compile time. 4) Compilation will cause an error because while cannot take a parameter of true. class Background implements Runnable{ int i=0; public int run(){ while(true){ i++; System.out.println("i="+i); } //End while }//End run }//End class
  • Q Explain when using field grouping in storm, is there any time-out or limit to known field values?
  • Q Name the family and order of Surfperch ?
  • Q HOW DOES LEVERAGE FIT IN WITH OPTIONS TRADING?
  • Q Collective nouns a group of geldings is called what