How can we inspect the web element attributes in order to use them in different locators?



How can we inspect the web element attributes in order to use them in different locators?..

Answer / Neha Kumari

Inspecting web element attributes can be done by using browser developer tools such as Google Chrome Developer Tools or Firefox Developer Edition. Once you've selected an element, you can view its attributes on the right-hand side under the 'Elements' tab. The attributes can then be used for different locators in Selenium.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

What you say in regards to the flexibility of selenium test suite?

1 Answers  


What is selenium?

1 Answers  


How to check whether a text is underlined or not?

1 Answers  


Which web driver implementation is fastest?

1 Answers  


What is the difference between borland silk and selenium?

1 Answers  


How to set test case priority in testng?

1 Answers  


What is selenium 2.0?

1 Answers  


What methods of robot class do you know?

1 Answers  


Which is the command used for displaying the values of a variable into the output console or log?

1 Answers  


What is difference between assert and verify commands?

1 Answers  


Please explain what are the different types of locators in selenium?

1 Answers  


List some of the test types that are supported by selenium.

1 Answers  


Categories