0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/third_party/phantomjs/test/regression/webkit-60448.js
2017-05-11 00:06:41 -07:00

13 lines
410 B
JavaScript

var url = TEST_HTTP_BASE + "regression/webkit-60448.html";
async_test(function () {
var p = require("webpage").create();
p.open(url, this.step_func_done(function (status) {
assert_equals(status, "success");
assert_is_true(p.evaluate(function () {
return document.getElementById("test") === null;
}));
}));
},
"remove an inline HTML element from the document");