An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Example for 27 and 72 :

27 = 3 * 3 * 3

72 = 2 * 2 * 2 * 3 * 3

The common divisors for 27 and 72 are thus 3 and 3 (twice), so the GCD is 3 * 3 = 9

Here's a more beginner friendly page :

http://en.wikipedia.org/wiki/Gcd

The algorithms that ozo posted are more advanced, and are preferrable for bigger numbers. The technique I illustrated is only feasible for small numbers.