完成50%
This commit is contained in:
@@ -30,7 +30,7 @@ const run = async () => {
|
||||
await send('Page.enable')
|
||||
await send('Runtime.enable')
|
||||
await send('Emulation.setDeviceMetricsOverride', { width: 412, height: 915, deviceScaleFactor: 1, mobile: true, screenWidth: 412, screenHeight: 915 })
|
||||
const url = `${origin}/?r02BackgroundAudit=1#/pages/records/r02-person-detail?personId=1&state=edit`
|
||||
const url = `${origin}/?r02BackgroundAudit=1#/pages/records/r02-person-detail?genealogyId=1001&mode=create`
|
||||
await send('Page.navigate', { url })
|
||||
for (let attempt = 0; attempt < 60; attempt += 1) {
|
||||
if (await valueOf("Boolean(document.querySelector('.person-detail-state--edit'))")) break
|
||||
|
||||
Reference in New Issue
Block a user