From d7b2c38b124411169f9e2620d3c2b4147cde1ded Mon Sep 17 00:00:00 2001 From: klaasderks <61226892+klaasderks@users.noreply.github.com> Date: Thu, 30 Apr 2020 12:29:11 +0200 Subject: [PATCH] extended errormessage root selector The error that is trown when the default rootselector ng-app is used, is not realy clear about adjusting the way the library is imported: "Keyword 'Element Text Should Be' failed after retrying for 30 seconds. The last error was: WebDriverException: Message: unknown error: Unable to find root selector using "[ng-app]". Please refer to the AngularJS library documentation for more information on how to resolve this error." I made a smal adjustment to add: Unable to find root selector *that is given by importing the library* using --- AngularJSLibrary/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AngularJSLibrary/__init__.py b/AngularJSLibrary/__init__.py index c9a955d..a0271aa 100644 --- a/AngularJSLibrary/__init__.py +++ b/AngularJSLibrary/__init__.py @@ -29,7 +29,7 @@ var callback = function () {waiting = false;} var el = document.querySelector(arguments[0]); if (!el) { - throw new Error('Unable to find root selector using "' + + throw new Error('Unable to find root selector that is given by importing the library using "' + arguments[0] + '". Please refer to the AngularJS library documentation' + ' for more information on how to resolve this error.')