blob: 3828c8d2ece2d1e3afeb102c117cbd9550b608f9 [file]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
(async function(testRunner) {
const html = `
<input type="file" id="myfile">
`;
const {session} = await testRunner.startHTML(
html, 'Tests if select file dialog is showing.');
await session.evaluateAsyncWithUserGesture(
`document.getElementById('myfile').click()`);
testRunner.completeTest();
})