-const assert = require('assert');
+import assert from 'assert';
describe('Reverse Page', function () {
let page;
let results = await page.$$('#searchresults .result a');
await results[0].click();
- await page.waitForNavigation();
+ await page.waitForSelector('table#address');
current_url = new URL(await page.url());
-
assert.deepStrictEqual(current_url.pathname, '/details.html');
});
});