mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
Replace driver.sendKeys with sendKeys function
This commit is contained in:
@@ -93,7 +93,7 @@ async function runSSD() {
|
|||||||
|
|
||||||
// Page 1: Tab through the toggles to reach the "Next" button
|
// Page 1: Tab through the toggles to reach the "Next" button
|
||||||
for (let i = 0; i < 7; i++) {
|
for (let i = 0; i < 7; i++) {
|
||||||
await driver.sendKeys([Key.Tab]);
|
sendKeys('{TAB}');
|
||||||
await sleep(200);
|
await sleep(200);
|
||||||
}
|
}
|
||||||
await driver.sendKeys([Key.Enter]);
|
await driver.sendKeys([Key.Enter]);
|
||||||
|
|||||||
Reference in New Issue
Block a user