![]() # The solution: Chrome for Testingĭesigned to solve these problems, Chrome for Testing is a dedicated flavor of Chrome targeting the testing use case, without auto-update, integrated into the Chrome release process, made available for every Chrome release. Third, Chromium is different from Chrome. Second, they are built and published separately from the Chrome release process, making it impossible to map their versions back to real user-facing Chrome releases. First, these Chromium binaries are not reliably available across all platforms. Not only do you have to download a Chrome binary somehow, you also need a correspondingly-versioned ChromeDriver binary to ensure the two binaries are compatible.ĭue to there being no good way to solve these issues, we know that many developers download Chromium (not Chrome) binaries instead, although this approach has some flaws. This is great for users, but painful for developers needing to reproduce a bug report in an older Chrome version.Ī more specific example of this problem is when you want to use ChromeDriver for browser automation. Google intentionally doesn’t make versioned Chrome downloads available, since users shouldn’t have to care about version numbers-they should always get updated to the latest version as soon as possible. # Versioned browser binariesĪuto-update aside, you might also have found it hard to find a Chrome binary with a specific version. This is the fundamental mismatch between what’s good for regular browser users versus what’s good for developers doing automated testing. As a result, you may not want to use your regular Chrome installation for automated testing. None of this is possible with an auto-updating browser binary. You want to pin a specific browser version and check that version number into your source code repository, so that you can check out old commits and branches and re-run the tests against the browser binary from that point in time.You want consistent, reproducible results across repeated test runs-but this may not happen if the browser executable or binary decides to update itself in between two runs.However, as a developer running a suite of end-to-end tests you might have an entirely different perspective: Users are happy to know they’re running an up-to-date and secure browser version including modern Web Platform features, browser features, and bug fixes at all times. One of Chrome’s most notable features is its ability to auto-update. ![]() ![]() # Auto-update: great for users, painful for developers Today, we’re announcing a change that hopefully eases some of this pain. At the same time, setting up an adequate browser testing environment is notoriously difficult, so much so that it’s consistently reported as a top web developer pain point. # Backgroundīrowser testing is a vital component of creating a high-quality web experience, regardless of whether it is done manually or automatically. The best thing of the new UI and layout and features that I have found useful so far is the Network drop down to be able to see how you site performs on different network speeds, again while it’s not as good as testing it for real on a device, it certainly helps with development and being able to see the Network tab and the timeline when looking at how your site is performing over different internet speeds.Chrome for Testing has been created purely for browser automation and testing purposes, and is not suitable for daily browsing. Ability to set your Network Speed (throttling).Bar graph at top for quickly jumping between media queries.Better UI for seeing the breakpoints and size screen.This is where Chrome Canary comes in, I know I have wrote about this sort of thing before ( Mobile device detection in Google Chrome), it turns out the Chrome team have updated this device emulation parts of Chrome Dev tools, there is a new Mobile icon next to the magnifying glass when you have Dev tools open, click on this icon and you will be greeted with the new Emulation features that contain a whole bunch of cool things like: If like me you deal with responsive (device aware) web sites/applications you will be aware of the challenges of testing and viewing your sites in all the different browsers and devices, while you can never beat looking at your creations on these real devices, I for one love speed and the ability to do it all from my desktop while in the depths of development and prototyping. I have the stable Google Chrome that everyone should be using, and I also used Chrome Canary, which is the bleeding edge of the web, or so they say.īy default I do all my development in Canary, this is to keep my history, Cookies, and everything else separate from my main browser, which is right stable Chrome. I am a massive Google Chrome users, so much so that I have two versions installed on my work machine. Matthew Roach Twitter RSS Google Chrome (Canary) Emulation Monday 14, July 2014
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |