Chrome Developer Tools

Slides:



Advertisements
Similar presentations
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Excel Project 4 Financial Functions, Data Tables, Amortization Schedules, and Hyperlinks.
Advertisements

Microsoft Expression Web-Illustrated Unit L: Using Code Tools.
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Browser.
LOGO Chapter V Formattings 1. LOGO Overview  Conditional formatting  Working with tables  Filtering  Sorting  Freeze panes  Pivot tables  How to.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 4: Create, Edit, and Perform.
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Record & run a macro Record & run a macro Save as a macro-
| | Tel: | | Computer Training & Personal Development Outlook Express Complete.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
CPSC1301 Computer Science 1 Overview of Dr. Java.
Chapter 4: Create, Edit, and Perform Calculations in Reports Exploring Microsoft Office Access 2007.
CS 418 : Week 2 Chrome DevTools SUSHMA KINI MARY PIETROWICZ ZHICHENG YAN.
Browsers © Copyright 2014, Fred McClurg All Rights Reserved.
FIX Eye FIX Eye Getting started: The guide EPAM Systems B2BITS.
® Microsoft Access 2010 Tutorial 12 Managing and Securing a Database.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 4: Create, Edit,
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
®® Microsoft Windows 7 for Power Users Tutorial 3 Managing Folders and Files.
Tutorial 7 Creating Animations. XP Objectives Learn about animation Create a timeline Add AP divs and graphics to a timeline Move and resize animation.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
IE Developer Tools Jonathan Seitel Program Manager.
JavaScript, Sixth Edition
Emdeon Office Batch Management Services This document provides detailed information on Batch Import Services and other Batch features.
Dive Into® Visual Basic 2010 Express
Excel Tutorial 8 Developing an Excel Application
JavaScript, Sixth Edition
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Essential tools for implementing and testing websites
Computer Literacy BASICS
Getting Started with Adobe Photoshop CS5
BIT116: Scripting Lecture 06
Exploring Microsoft Office Access 2007
Tutorial 10 Programming with JavaScript
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
Access Chapter 2 Querying a Database.
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Building a User Interface with Forms
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
ICP Kit HHC Data Validation and Aggregation Module
Chapter Lessons Start Adobe Photoshop CS
Microsoft Windows XP Inside Out Second Edition
ConnectingOntario ClinicalViewer
Managing Multiple Worksheets and Workbooks
Lesson 7 Getting Started with Word Essentials
DB Implementation: MS Access Forms
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Creating and Modifying Queries
Siebel Open UI Features & Updates
Using JDeveloper.
DB Implementation: MS Access Forms
Due Next Monday Assignment 1 Start early
HP ALM Defects Module To protect the confidential and proprietary information included in this material, it may not be disclosed or provided to any third.
Lesson 3: Find and Replace Tools
IBM SCPM Basic Navigation
Exploring Microsoft Office Access 2010
Autodesk Inventor Tips and Tricks for New Users
How to debug a website using IE F12 tools
Approving Time in Kronos Manager/Supervisor Reference Guide
Tutorial 12 Managing and Securing a Database
Microsoft Excel 2007 – Level 2
Workshop for Programming And Systems Management Teachers
Computer Tips November 2018.
Presentation transcript:

Chrome Developer Tools

Acessing dev tools The longcut The shortcut Select the Chrome menu at the top-right of your browser window, then select Tools > Developer Tools. Right-click on any page element and select Inspect Element. The shortcut Ctrl + Shift + I to bring up dev tools Ctrl + Shift + J to open dev tools with console in focus

Dev tools window

Dev tools tabs Overall, there are eight main groups of tools available view Developer Tools: Elements Resources Network Sources Timeline Profiles Audits Console

Elements tab

What you can do here Inspect and edit on the fly any element in the DOM tree in the Elements panel. View and change the CSS rules applied to any selected element in the Styles pane. View and edit a selected element's box model in the Computed pane. View any changes made to your page locally in the Sources panel.

Live editing of a DOM Node

Live edit a style Live-edit style property names and values in the Styles pane. All styles are editable, except the ones that are greyed out (as is the case with user agent stylesheets). To edit a name or value, click on it, make your changes, and press Tab or Enter to save the change.

Examine and edit box model parameters Examine and edit the current element's box model parameters using the Computed pane. All values in the box model are editable, just click on them.

Console Tab

What you can do here Open the Console as a dedicated panel or as a drawer next to any other panel. Stack redundant messages, or display them on their own lines. Clear or persist output between pages, or save it to a file. Filter output by severity level, by hiding network messages, or by regular expression patterns.

Writing to the console Use the console.log() method for any basic logging to the console. It takes one or more expressions as parameters and writes their current values to the console, concatenating multiple parameters into a space-delimited line. Executing this line of code in your JavaScript: Console.log(“Node count”,a.childNodes.length,”and the current time is:”, Date.now());

Debugging Javascript While running your javascript it’s natural to have some errors. So how do you fix them? Open the console to see the errors that show up(if any that is. Javascript sometimes doesn’t work even if it shows no errors) Use the very traditional method of alerts or console.log() statements. Refer to this link to know how to use the dev tools JS debugger for a more systematic and advanced approach - https://developers.google.com/web/tools/chrome-devtools/javascript/

Network Tab

What you can do here Use the Network panel to record and analyze network activity. View load information in aggregate or for individual resources. Filter and sort how resources are displayed. Save, copy, and clear network recordings. Customize the Network panel to your needs.

Network Tab Panes Controls. Use these options to control how the Network panel looks and functions. Filters. Use these options to control which resources are displayed in the Requests Table. Tip: hold Cmd (Mac) or Ctrl (Window/Linux), and then click on a filter to select multiple filters at the same time. Overview. This graph shows a timeline of when resources were retrieved. If you see multiple bars stacked vertically, it means that those resources were retrieved simultaneously. Requests Table. This table lists out every resource that was retrieved. By default, this table is sorted chronologically, with the earliest resources at the top. Clicking on the name of a resource yields more information about it. Tip: right-click on any of the table headers except Timeline to add or remove columns of information. Summary. At a glance this pane tells you the total number of requests, amount of data transferred, and load time

Record Network Activity When the Network panel is open, DevTools records all network activity by default. To record, just reload a page while the panel is open, or wait for network activity on the currently loaded page. You can tell whether or not DevTools is recording via the record button. When it's red DevTools is recording. When it's grey DevTools is not recording. Click this button to start or stop recording, or press the keyboard shortcut Cmd/Ctrl + E

Emulate slow network connections Emulate 2G, 3G, and other connection speeds from the Network Throttling menu. You can select from a variety of presets, such as Regular or Good 2G. You can also add your own custom presets by opening the Network Throttling menu and selecting Custom > Add. DevTools displays a warning icon next to the Network tab to remind you that throttling is enabled.

View HTTP header Clicking the Headers shows the headers for that resource. The Headers tab displays the resource's request URL, HTTP method, and response status code. Additionally, it lists the HTTP response and request headers and their values, and any query string parameters.

For more Check this course out for a great tutorial on the chrome developer tools https://www.codeschool.com/courses/discover-devtools Or the official google development tools documentation https://developers.google.com/web/tools/chrome-devtools/