Poltergeist - turning off JQMIGRATE warnings

alexs333 picture alexs333 · Jul 23, 2013 · Viewed 17.1k times · Source

When running my test suite using poltergeist as the JavaScript driver, I am encountering the following warnings:

JQMIGRATE: jQuery.fn.attr(selected) may use property instead of attribute
JQMIGRATE: jQuery.browser is deprecated

Is that possible to turn them off?

Answer

Ivan Chernykh picture Ivan Chernykh · Dec 1, 2013

Minified version is "muted" by default:

<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>