[Debug] Chrome Devtools:elements-console Integration

Source: Internet
Author: User
Tags chrome devtools

The Element Inspector in Chrome DevTools offers powerful integration with the Console-learn what to programmatically Navi Gate your selected element, how to search through the history and use CSS selectors to control what do you ' re looking at and How to quickly and easily listen for events as you debug your application.

$0:refer to selected element.

$, $ $, $ $4:refer to previous element.

We can use jQuery even not include the Lib:

We can use XPath to get the elements:

We can monitor events:

[Debug] Chrome Devtools:elements-console Integration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.