server/page/base.js
// Goes to chrome://version then back to the original URL.
Goes to chrome://version then back to the original URL.
Goes to chrome : // version then back to the original URL .
async reload() {
		await this.tab().setCacheEnabled(false)
		const origUrl = await this.tab().url()
		await this.tab().goto("chrome://version", { timeout: 500 })
		const shouldBeEmpty = await this.tab().$x(this.verifyXPath_)
		assert.strictEqual(shouldBeEmpty.length, 0)
		await this.tab().goto(origUrl)
		await this.verify()
		await this.tab().setCacheEnabled(true)
	}
async reload ( ) { await this . tab ( ) . setCacheEnabled ( false ) const origUrl = await this . tab ( ) . url ( ) await this . tab ( ) . goto ( "chrome://version" , { timeout : 500 } ) const shouldBeEmpty = await this . tab ( ) . $x ( this . verifyXPath_ ) assert . strictEqual ( shouldBeEmpty . length , 0 ) await this . tab ( ) . goto ( origUrl ) await this . verify ( ) await this . tab ( ) . setCacheEnabled ( true ) }
Goes to chrome://version then back to the original URL.
Goes to chrome : // version then back to the original URL .
//await this.tab().reload();