Google has announced the release of mobile-friendly test API. You can test URLs using automated tools. "The API method runs all tests, and returns the same information – including a list of the blocked URLs – as the manual test," said Google.
John Mueller stated, “We hope this API makes it easier to check your pages for mobile-friendliness and to get any such issues resolved faster.”