Have you failed a job interview?
Send us your job interview questions and get correct answers.

How can you inspect HTML code of a specific element in a web page?

Experience Level: Junior
Tags: Quality Assurance (QA)

Answer

There are slight differences between browsers so we will describe how this can be done in Google Chrome. There are three ways:

  • Right click the element in the page and click Inspect
  • Open Chrome DevTools using F12, click the arrow icon that is in the top left corner of DevTools, select an element in the page by clicking on it
  • Display the page source code, locate the element by the text that is contained within it or some of its siblings (this solution is quite slow and clumsy)
Related Quality Assurance (QA) job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.
Web application analysis for Testers
Web application analysis for Testers

Are you learning Quality Assurance (QA) ? Try our test we designed to help you progress faster.

Test yourself

Chat

Oh, the operator is not available. Leave us your comments. We will answer all your questions as soon as possible.

Comments

LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e