We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f3bf40 commit 86943ebCopy full SHA for 86943eb
tests/webview-specs/ios/index.e2e.js
@@ -20,24 +20,7 @@ describe.withBrowsersMatching(onlyIOS)('ios webview', () => {
20
await driver.setClipboard(Buffer.from(url).toString('base64'), 'plaintext')
21
const addressBar = await $('-ios predicate string: type == "XCUIElementTypeTextField"')
22
await addressBar.clearValue()
23
- await driver.touchPerform([
24
- {
25
- action: 'press',
26
- options: {
27
- element: addressBar.elementId
28
- }
29
- },
30
31
- action: 'wait',
32
33
- ms: 500
34
35
36
37
- action: 'release',
38
- options: {}
39
40
- ])
+ addressBar.click({ duration: 500 })
41
await $('-ios predicate string: type == "XCUIElementTypeMenuItem" AND label == "Paste" AND name == "Paste"')
42
.click()
43
0 commit comments