You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone! I try to click button in webview, but I get error:
`The following PatrolActionException was thrown running a test:
Patrol action failed: NativeAutomatorClientException:
waitUntilVisible() failed with Invalid response: 404 selector
UiSelector[CONTAINS_TEXT=Register] found nothing
When the exception was thrown, this was the stack:
#0 NativeAutomator._wrapRequest (package:patrol/src/native/native_automator.dart:252:7)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! I try to click button in webview, but I get error:
`The following PatrolActionException was thrown running a test:
Patrol action failed: NativeAutomatorClientException:
waitUntilVisible() failed with Invalid response: 404 selector
UiSelector[CONTAINS_TEXT=Register] found nothing
When the exception was thrown, this was the stack:
#0 NativeAutomator._wrapRequest (package:patrol/src/native/native_automator.dart:252:7)
#1 NativeAutomator.waitUntilVisible (package:patrol/src/native/native_automator.dart:822:5)
#2 main. (file:///Users/xxxxx/StudioProjects/umc-template-new-jersey/integration_test/example_test.dart:36:7)
#3 patrolTest. (package:patrol/src/common.dart:149:7)
#4 testWidgets.. (package:flutter_test/src/widget_tester.dart:193:15)
#5 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1064:5)
#6 TestWidgetsFlutterBinding._createTestCompletionHandler. (package:flutter_test/src/binding.dart:814:12)
`
I wrote this code:
await $.native.waitUntilVisible(Selector(textContains: 'Register'));How can I find my element in webview? Or how can gebug which elements are visible? Also I tried to use getNativeViews(), but It returns 500 error.
Beta Was this translation helpful? Give feedback.
All reactions